1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/cli/tools
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
..
coverage.rs refactor(lsp): use deno_ast and cache swc ASTs (#11780) 2021-09-07 10:39:32 -04:00
doc.rs refactor: use import_map crate (#11974) 2021-09-11 03:38:24 +02:00
fmt.rs feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
installer.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
lint.rs refactor(lint): reuse lint rules (#11934) 2021-09-08 07:08:33 +02:00
mod.rs refactor(cli): introduce module specifier test modes (#11769) 2021-08-26 21:21:58 +02:00
repl.rs fix(cli): better handling of source maps (#11954) 2021-09-08 14:05:34 +10:00
standalone.rs refactor: factor out DenoSubcommand enum variant into structs (#11896) 2021-09-04 01:33:35 +02:00
test.rs chore: update deno_* crates (#12020) 2021-09-13 10:06:36 +10:00
upgrade.rs fix(cli/tools/upgrade): check if passed version is valid (#11296) 2021-07-07 14:59:39 -04:00