1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 10:09:20 -05:00
denoland-deno/cli/tests/testdata/fmt
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
..
fmt_with_config feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
regular feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
deno.jsonc feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
deno.malformed.jsonc feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
deno.malformed2.jsonc feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
expected_fmt_check_formatted_files.out chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
expected_fmt_check_ignore.out chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
expected_fmt_check_tests_dir.out chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
expected_fmt_check_verbose_formatted_files.out chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
expected_fmt_check_verbose_tests_dir.out chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
fmt_with_config.out feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
fmt_with_config_and_flags.out feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
fmt_with_malformed_config.out feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
fmt_with_malformed_config2.out feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00