mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 12:34:32 +08:00
build: some tooling prefer unique keys in JSON
This commit is contained in:
parent
2a3237655e
commit
5488dda25a
26
tslint.json
26
tslint.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"//": "Consider using no-identical-functions and disabling in faulty tests",
|
||||
"//": "Consider using cognitive-complexity and refactor",
|
||||
"//": "Consider using no-useless-cast but it's annoying",
|
||||
"//00": "Consider using no-identical-functions and disabling in faulty tests",
|
||||
"//01": "Consider using cognitive-complexity and refactor",
|
||||
"//02": "Consider using no-useless-cast but it's annoying",
|
||||
"extends": [
|
||||
"tslint-no-circular-imports"
|
||||
],
|
||||
@ -10,18 +10,18 @@
|
||||
"node_modules/tslint-sonarts/lib/rules"
|
||||
],
|
||||
"rules": {
|
||||
"//": "==================================================================================================",
|
||||
"//": "custom rules defined in dist/rules/**",
|
||||
"//03": "==================================================================================================",
|
||||
"//04": "custom rules defined in dist/rules/**",
|
||||
"defocus": true,
|
||||
"import-groups": true,
|
||||
"non-null-operator": true,
|
||||
"no-global-tslint-disable": true,
|
||||
"single-eof-line": true,
|
||||
"//": "==================================================================================================",
|
||||
"//05": "==================================================================================================",
|
||||
|
||||
"//": "==================================================================================================",
|
||||
"//": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
|
||||
"//": "These rules are part of the bug detection section of tslint-sonarts",
|
||||
"//06": "==================================================================================================",
|
||||
"//07": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
|
||||
"//08": "These rules are part of the bug detection section of tslint-sonarts",
|
||||
"no-big-function": true,
|
||||
"no-all-duplicated-branches": true,
|
||||
"no-case-with-or": true,
|
||||
@ -40,13 +40,13 @@
|
||||
"no-useless-increment": true,
|
||||
"no-useless-intersection": true,
|
||||
|
||||
"//": "These rules are part of the code smell detection section of tslint-sonarts",
|
||||
"//09": "These rules are part of the code smell detection section of tslint-sonarts",
|
||||
"no-dead-store": true,
|
||||
"no-useless-intersection": true,
|
||||
"//": "==================================================================================================",
|
||||
"//10": "==================================================================================================",
|
||||
|
||||
"//": "==================================================================================================",
|
||||
"//": "base tslint rules",
|
||||
"//11": "==================================================================================================",
|
||||
"//12": "base tslint rules",
|
||||
"no-floating-promises": true,
|
||||
"no-implicit-dependencies": true,
|
||||
"no-import-side-effect": [true, {"ignore-module": "^(?!rxjs\/)"}],
|
||||
|
Loading…
x
Reference in New Issue
Block a user