summaryrefslogtreecommitdiff
path: root/.dprint.json
AgeCommit message (Collapse)Author
2023-10-11fix: upgrade dprint-plugin-markdown 0.16.2 and typescript 0.88.1 (#20879)David Sherret
Markdown: * fix: hard break in list was incorrectly being converted to soft with hard break https://github.com/dprint/dprint-plugin-markdown/commit/6678390b27f05fd23a972eab7918e8badca60505 TypeScript: * fix: multi-line string indent was broken in some cases (https://github.com/dprint/dprint-plugin-typescript/pull/566) * feat: add parens around unary expressions in in/instanceof (https://github.com/dprint/dprint-plugin-typescript/pull/564)
2023-09-08fix(fmt/markdown): improve ignore comment handling (#20421)David Sherret
Two bug fixes: * https://github.com/dprint/dprint-plugin-markdown/pull/85 * https://github.com/dprint/dprint-plugin-markdown/pull/84
2023-09-07feat: support import attributes (#20342)David Sherret
2023-08-28fix(fmt/markdown): ignore trailing words in code block info string for ↵David Sherret
language detection (#20310)
2023-08-08fix(fmt): do not insert expr stmt leading semi-colon in do while stmt body ↵David Sherret
(#20093) This is for when semiColons: false Closes #20089
2023-07-31chore: upgrade dprint-plugin-exec to 0.4.3 (#20001)David Sherret
2023-07-31chore: upgrade to dprint 0.40 internally (#19998)David Sherret
2023-07-08chore: upgrade to dprint 0.39 (#19768)David Sherret
2023-06-05fix: upgrade to deno_ast 0.27 (#19375)David Sherret
Closes #19148
2023-05-23feat: add support for globs in the config file and CLI arguments for files ↵Bartek Iwańczuk
(#19102) Follow up to https://github.com/denoland/deno/pull/19084. This commit adds support for globs in the configuration file as well as CLI arguments for files. With this change users can now use glob syntax for "include" and "exclude" fields, like so: ```json { "lint": { "include": [ "directory/test*.ts", "other_dir/" ], "exclude": [ "other_dir/foo*.ts", "nested/nested2/*" ] }, "test": { "include": [ "data/test*.ts", "nested/", "tests/test[1-9].ts" ], "exclude": [ "nested/foo?.ts", "nested/nested2/*" ] } } ``` Or in CLI args like so: ``` // notice quotes here; these values will be passed to Deno verbatim // and deno will perform glob expansion $ deno fmt --ignore="data/*.ts" $ deno lint "data/**/*.ts" ``` Closes https://github.com/denoland/deno/issues/17971 Closes https://github.com/denoland/deno/issues/6365
2023-05-15chore: check node_compat config diff in CI (#19119)Yoshiya Hinosawa
2023-05-09perf(fmt): faster formatting for minified object literals (#19050)David Sherret
Has fix for https://github.com/dprint/dprint-plugin-typescript/issues/520
2023-05-01chore(ext/websocket): readd autobahn|testsuite fuzzingclient (#18903)Divy Srivastava
This reverts commit https://github.com/denoland/deno/commit/17d1c7e444542f43229a047853605ac22081abdf. The `Deno.serve` signature update in https://github.com/denoland/deno/pull/18759 broke the testee server right after this patch landed on `main`.
2023-04-30fix(fmt/json): support formatting number with exponent and no sign (#18894)David Sherret
Numbers with an exponent and no sign (ex. `1e1`) would fail to parse.
2023-04-26Revert "chore(ext/websocket): Add autobahn|testsuite fuzzingclient (#… ↵Bartek Iwańczuk
(#18856) …18846)" This reverts commit 036778c2e8e159ef1e586de4102f823367b7c554. Keeps failing on `main` branch.
2023-04-26chore(ext/websocket): Add autobahn|testsuite fuzzingclient (#18846)Divy Srivastava
Closes #17242
2023-03-22feat(cli): --ext parameter for run, compile, and bundle (#17172)Cre3per
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle`
2023-03-21chore: update formatting configuration (#18331)Bartek Iwańczuk
2023-03-21chore(tools): restore node compat test setup script (#18290)Yoshiya Hinosawa
2023-02-20test(ext/node): more node compat tests (#17827)Yoshiya Hinosawa
This PR adds the remaining ~650 Node.js compat test cases from std/node. Among these 650 cases, about 130 cases are now failing. These failing cases are prefixed with `TODO:` in `tests/node_compat/config.json`. These will be addressed in later PRs.
2023-01-28fix(fmt): semiColons: false - handle prop with following generator and do ↵David Sherret
while with no block body (#17567) Closes #17559
2023-01-14chore: use rustfmt imports_granularity option (#17421)Divy Srivastava
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't)
2023-01-11fix(fmt): better handling of link reference definitions when formatting ↵David Sherret
markdown (#17352) Two fixes: - https://github.com/dprint/dprint-plugin-markdown/pull/75 - https://github.com/dprint/dprint-plugin-markdown/pull/73
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.