mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 21:42:38 +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",
|
"//00": "Consider using no-identical-functions and disabling in faulty tests",
|
||||||
"//": "Consider using cognitive-complexity and refactor",
|
"//01": "Consider using cognitive-complexity and refactor",
|
||||||
"//": "Consider using no-useless-cast but it's annoying",
|
"//02": "Consider using no-useless-cast but it's annoying",
|
||||||
"extends": [
|
"extends": [
|
||||||
"tslint-no-circular-imports"
|
"tslint-no-circular-imports"
|
||||||
],
|
],
|
||||||
@ -10,18 +10,18 @@
|
|||||||
"node_modules/tslint-sonarts/lib/rules"
|
"node_modules/tslint-sonarts/lib/rules"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"//": "==================================================================================================",
|
"//03": "==================================================================================================",
|
||||||
"//": "custom rules defined in dist/rules/**",
|
"//04": "custom rules defined in dist/rules/**",
|
||||||
"defocus": true,
|
"defocus": true,
|
||||||
"import-groups": true,
|
"import-groups": true,
|
||||||
"non-null-operator": true,
|
"non-null-operator": true,
|
||||||
"no-global-tslint-disable": true,
|
"no-global-tslint-disable": true,
|
||||||
"single-eof-line": true,
|
"single-eof-line": true,
|
||||||
"//": "==================================================================================================",
|
"//05": "==================================================================================================",
|
||||||
|
|
||||||
"//": "==================================================================================================",
|
"//06": "==================================================================================================",
|
||||||
"//": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
|
"//07": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
|
||||||
"//": "These rules are part of the bug detection section of tslint-sonarts",
|
"//08": "These rules are part of the bug detection section of tslint-sonarts",
|
||||||
"no-big-function": true,
|
"no-big-function": true,
|
||||||
"no-all-duplicated-branches": true,
|
"no-all-duplicated-branches": true,
|
||||||
"no-case-with-or": true,
|
"no-case-with-or": true,
|
||||||
@ -40,13 +40,13 @@
|
|||||||
"no-useless-increment": true,
|
"no-useless-increment": true,
|
||||||
"no-useless-intersection": 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-dead-store": true,
|
||||||
"no-useless-intersection": true,
|
"no-useless-intersection": true,
|
||||||
"//": "==================================================================================================",
|
"//10": "==================================================================================================",
|
||||||
|
|
||||||
"//": "==================================================================================================",
|
"//11": "==================================================================================================",
|
||||||
"//": "base tslint rules",
|
"//12": "base tslint rules",
|
||||||
"no-floating-promises": true,
|
"no-floating-promises": true,
|
||||||
"no-implicit-dependencies": true,
|
"no-implicit-dependencies": true,
|
||||||
"no-import-side-effect": [true, {"ignore-module": "^(?!rxjs\/)"}],
|
"no-import-side-effect": [true, {"ignore-module": "^(?!rxjs\/)"}],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user