mirror of
https://github.com/denoland/deno.git
synced 2025-02-05 06:05:54 -05:00
![Bartek Iwańczuk](/assets/img/avatar_default.png)
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
127 B
Text
4 lines
127 B
Text
error: Failed to parse "fmt" configuration
|
|
|
|
Caused by:
|
|
unknown field `dont_know_this_field`, expected `options` or `files`
|