David Sherret
0ec151b8cb
chore: upgrade deno_ast to 0.5.0 ( #12595 )
2021-11-01 16:22:27 -04:00
David Sherret
43cd0459b9
fix(lsp): formatting should error on certain additional swc diagnostics ( #12491 )
2021-10-21 10:18:18 -04:00
David Sherret
0a7ba33ed1
fix(fmt): keep parens for JS doc type assertions ( #12475 )
2021-10-18 10:21:42 -04:00
David Sherret
62f6865f7c
fix: fmt should not remove parens around sequence expressions ( #12461 )
2021-10-16 14:57:45 -04:00
David Sherret
9b1f0c8ba3
chore: upgrade crates based on deno ast 0.3 ( #12403 )
2021-10-12 09:58:04 -04:00
Bartek Iwańczuk
4e3068be63
Revert "fix(cli): ensure empty lines don't count towards coverage ( #11957 )" ( #12348 )
...
This reverts commit d5b38a9929
.
2021-10-06 19:28:28 +02:00
Casper Beyer
d5b38a9929
fix(cli): ensure empty lines don't count towards coverage ( #11957 )
2021-10-06 07:05:18 +02:00
Bartek Iwańczuk
0dbeb774ba
feat(fmt): add support for configuration file ( #11944 )
...
This commit adds support for configuration file for "deno fmt"
subcommand. It is also respected by LSP when formatting
files.
Example configuration:
{
"fmt": {
"files": {
"include": ["src/"],
"exclude": ["src/testdata/"]
},
"options": {
"useTabs": true,
"lineWidth": 80,
"indentWidth": 4,
"singleQuote": true,
"textWrap": "preserve"
}
}
}
2021-09-13 20:19:10 +02:00
David Sherret
2c77681770
chore: upgrade third_party for dprint 0.17 ( #11930 )
2021-09-06 12:44:07 -04:00
David Sherret
987716798f
feat(fmt): add basic JS doc formatting ( #11902 )
2021-09-02 18:28:12 -04:00
Bartek Iwańczuk
c84532b6d5
chore: upgrade crates ( #11894 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-09-02 17:38:19 +02:00
Ryan Dahl
163f2ef571
fix: parse error when transpiling code with BOM ( #11688 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-16 09:28:29 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
David Sherret
299c7cfe54
feat(fmt): format top-level JSX elements/fragments with parens when multi-line ( #11582 )
2021-08-04 23:17:32 -04:00
David Sherret
d7d452efc1
chore: format toml files internally ( #11563 )
2021-08-02 10:19:27 -04:00
David Sherret
899470addc
chore: update dprint-plugin-json to remove duplicate dprint-core dependency ( #11209 )
2021-07-01 11:22:28 -04:00
David Sherret
a9c58d5e51
chore: upgrade dprint 0.13.1 to fix CI. ( #10513 )
2021-05-06 13:22:24 +09:00