1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/tests/testdata/lint/Deno.malformed2.jsonc
Bartek Iwańczuk d93570a619
feat(lint): add support for config file and CLI flags for rules (#11776)
This commit adds support for following flags in deno lint subcommand:

--config - allows to load configuration file and parses "lint" object
--rules-tags=<tags> - allows specifying which set of tagged rules should be run
--rules-include=<rules> - allow specifying which rules should be run
--rules-exclude=<rules> - allow specifying which rules should not be run
2021-09-03 17:01:58 +02:00

13 lines
260 B
Text

{
"lint": {
"files": {
"include": ["lint/lint_with_config/"],
"exclude": ["lint/lint_with_config/b.ts"],
"dont_know_this_field": {}
},
"rules": {
"tags": ["recommended"],
"include": ["ban-untagged-todo"]
}
}
}