mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
0dbeb774ba
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" } } } |
||
---|---|---|
.. | ||
fmt_with_config | ||
regular | ||
deno.jsonc | ||
deno.malformed.jsonc | ||
deno.malformed2.jsonc | ||
expected_fmt_check_formatted_files.out | ||
expected_fmt_check_ignore.out | ||
expected_fmt_check_tests_dir.out | ||
expected_fmt_check_verbose_formatted_files.out | ||
expected_fmt_check_verbose_tests_dir.out | ||
fmt_with_config.out | ||
fmt_with_config_and_flags.out | ||
fmt_with_malformed_config.out | ||
fmt_with_malformed_config2.out |