summaryrefslogtreecommitdiff
path: root/.dprint.json
AgeCommit message (Collapse)Author
2023-01-04fix: upgrade deno_ast to 0.23 (#17269)David Sherret
Closes #17172 Closes #15669 Closes #8529
2022-12-13fix(fmt): panic in yaml header with multi-byte characters (#17042)David Sherret
Closes #17010
2022-12-07feat(fmt): improve width calculation (#16982)David Sherret
Formats code according to Unicode Standard Annex #11 rules (https://crates.io/crates/unicode-width). This aligns `deno fmt` more with prettier.
2022-11-25refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820)David Sherret
2022-11-23fix(fmt/markdown): scenario where whitespace was being incorrectly stripped ↵David Sherret
in inline links (#16769) https://github.com/dprint/dprint-plugin-markdown/pull/69 Closes #16730
2022-10-25fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406)David Sherret
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-07fix: upgrade deno_ast to 0.19 (#15808)David Sherret
2022-08-23feat(npm): support packages with multiple command names (#15565)David Sherret
2022-08-19chore(bench): add flash router benchmarks (#15495)Divy Srivastava
2022-08-05fix: various formatting fixes (#15412)David Sherret
2022-07-13feat(fmt): do not add a newline between a template and its tag (#15195)David Sherret
2022-07-12fix(ext/ffi): trampoline for fast calls (#15139)Divy Srivastava
2022-07-03chore: upgrade to dprint 0.30.2 internally (#15061)David Sherret
2022-06-22fix: upgrade swc via deno_ast 0.16 (#14930)David Sherret
2022-06-12feat(fmt): remove some unnecessary parens in types (#14841)David Sherret
2022-05-25fix(fmt): prevent infinite loop when formatting certain binary expressions ↵David Sherret
(#14725)
2022-05-01fix: improve formatting jsdocs with asterisk as first char on line (#14446)David Sherret
2022-04-18fix(fmt): regression where some short if stmt headers being split on ↵David Sherret
multiple lines (#14292) Closes #14291
2022-04-08fix: upgrade to swc_ecmascript 0.143 (#14238)David Sherret
2022-03-29chore: upgrade dprint-core to 0.54.1 (#14146)David Sherret
2022-03-28chore: update dprint internally to 0.24.1 (#14141)David Sherret
2022-02-21chore: use `rustfmt` cli via dprint for faster format (#13735)David Sherret
2022-01-20fix(fmt): markdown formatting should not remove backslashed backslash at ↵David Sherret
start of paragraph (#13429)
2022-01-18Add LSP benchmark mimicking the one on quick-lint-js (#13365)Ryan Dahl
2022-01-17feat: auto-discover config file (#13313)Ryan Dahl
2022-01-16fix(cli): Don't strip shebangs from modules (#13220)Andreu Botella
Deno's module loader currently strips a shebang if a module file starts with one. However, this is no longer necessary, since there is a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the language (https://github.com/tc39/proposal-hashbang), and V8, `tsc` and `swc` all support it. Furthermore, stripping shebangs causes a correctness bug with JSON modules, since a JSON file with a shebang should not parse as a JSON module, yet it does with this stripping. This change fixes this.
2022-01-04fix: upgrade swc_ecmascript to 0.103 (#13284)David Sherret
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-19fix(fmt): markdown formatting was incorrectly removing some non-breaking ↵David Sherret
space html entities (#12818)
2021-11-15fix(test): support typechecking docs with CRLF line endings (#12748)Geert-Jan Zwiers
2021-11-01chore: upgrade deno_ast to 0.5.0 (#12595)David Sherret
2021-10-21fix(lsp): formatting should error on certain additional swc diagnostics (#12491)David Sherret
2021-10-18fix(fmt): keep parens for JS doc type assertions (#12475)David Sherret
2021-10-16fix: fmt should not remove parens around sequence expressions (#12461)David Sherret
2021-10-12chore: upgrade crates based on deno ast 0.3 (#12403)David Sherret
2021-10-06Revert "fix(cli): ensure empty lines don't count towards coverage (#11957)" ↵Bartek Iwańczuk
(#12348) This reverts commit d5b38a992933db5cb2d0221e9d82af191022dad5.
2021-10-06fix(cli): ensure empty lines don't count towards coverage (#11957)Casper Beyer
2021-09-13feat(fmt): add support for configuration file (#11944)Bartek Iwańczuk
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-06chore: upgrade third_party for dprint 0.17 (#11930)David Sherret
2021-09-02feat(fmt): add basic JS doc formatting (#11902)David Sherret
2021-09-02chore: upgrade crates (#11894)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-16fix: parse error when transpiling code with BOM (#11688)Ryan Dahl
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-04feat(fmt): format top-level JSX elements/fragments with parens when ↵David Sherret
multi-line (#11582)
2021-08-02chore: format toml files internally (#11563)David Sherret
2021-07-01chore: update dprint-plugin-json to remove duplicate dprint-core dependency ↵David Sherret
(#11209)
2021-05-06chore: upgrade dprint 0.13.1 to fix CI. (#10513)David Sherret