Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-10 | chore(tests): test_util - Add `PathRef` (#19450) | David Sherret | |
This adds a new `PathRef` struct to test_util for making it easier to work with paths in test code. I'm going to expand on this more in the future. | |||
2023-05-23 | feat: 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-04-26 | feat(cli): flatten deno.json configuaration (#17799) | scarf | |
2023-03-13 | chore(cli/tests): use test builder in more integration tests (#18031) | Geert-Jan Zwiers | |
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-16 | fix(cli/fmt): show filepath for InvalidData error (#17361) | Leo Kettmeir | |
2023-01-14 | chore: 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-13 | tests: move integration tests to a single module (#17380) | Bartek Iwańczuk | |
Effectively reverts changes done in https://github.com/denoland/deno/pull/16816 | |||
2022-11-26 | tests: move integration tests to separate modules (#16816) | Bartek Iwańczuk | |
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-06-23 | fix(fmt): ignore node_modules directory (#14943) | Bartek Iwańczuk | |
2022-06-18 | fix(fmt): should fail `--check` on parse error (#14907) | David Sherret | |
2022-06-09 | feat(fmt): support formatting cjs, cts, mjs, and mts files (#14837) | David Sherret | |
2022-04-01 | chore(tests): use custom temp dir creation for the tests (#14153) | David Sherret | |
2022-03-29 | feat(cli/fmt): ignore .git folder when formatting files (#14138) | TrickyPi | |
2022-03-22 | chore: replace `.expect("...")` calls with `.unwrap()` in test code (#14081) | David Sherret | |
2022-01-17 | feat: auto-discover config file (#13313) | Ryan Dahl | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-11-23 | tests: remove 'fmt_check_tests_dir' test (#12875) | Bartek Iwańczuk | |
2021-11-15 | fix(test): support typechecking docs with CRLF line endings (#12748) | Geert-Jan Zwiers | |
2021-09-23 | feat(cli/fmt): support more markdown extensions (#12195) | Satya Rohith | |
2021-09-13 | feat(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-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-06-27 | chore: split up integration_tests.rs into separate files (#11131) | David Sherret | |