1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/tests/testdata/fmt/regular
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
..
formatted1.js feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
formatted2.ts feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
formatted3.md feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
formatted4.jsonc feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00