mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 03:43:00 -05:00

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" } } }
4 lines
34 B
JSON
4 lines
34 B
JSON
{
|
|
// Comment
|
|
"key": "value"
|
|
}
|