Skip to content

Commit 5488dda

Browse files
committed
build: some tooling prefer unique keys in JSON
1 parent 2a32376 commit 5488dda

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tslint.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"//": "Consider using no-identical-functions and disabling in faulty tests",
3-
"//": "Consider using cognitive-complexity and refactor",
4-
"//": "Consider using no-useless-cast but it's annoying",
2+
"//00": "Consider using no-identical-functions and disabling in faulty tests",
3+
"//01": "Consider using cognitive-complexity and refactor",
4+
"//02": "Consider using no-useless-cast but it's annoying",
55
"extends": [
66
"tslint-no-circular-imports"
77
],
@@ -10,18 +10,18 @@
1010
"node_modules/tslint-sonarts/lib/rules"
1111
],
1212
"rules": {
13-
"//": "==================================================================================================",
14-
"//": "custom rules defined in dist/rules/**",
13+
"//03": "==================================================================================================",
14+
"//04": "custom rules defined in dist/rules/**",
1515
"defocus": true,
1616
"import-groups": true,
1717
"non-null-operator": true,
1818
"no-global-tslint-disable": true,
1919
"single-eof-line": true,
20-
"//": "==================================================================================================",
20+
"//05": "==================================================================================================",
2121

22-
"//": "==================================================================================================",
23-
"//": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
24-
"//": "These rules are part of the bug detection section of tslint-sonarts",
22+
"//06": "==================================================================================================",
23+
"//07": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
24+
"//08": "These rules are part of the bug detection section of tslint-sonarts",
2525
"no-big-function": true,
2626
"no-all-duplicated-branches": true,
2727
"no-case-with-or": true,
@@ -40,13 +40,13 @@
4040
"no-useless-increment": true,
4141
"no-useless-intersection": true,
4242

43-
"//": "These rules are part of the code smell detection section of tslint-sonarts",
43+
"//09": "These rules are part of the code smell detection section of tslint-sonarts",
4444
"no-dead-store": true,
4545
"no-useless-intersection": true,
46-
"//": "==================================================================================================",
46+
"//10": "==================================================================================================",
4747

48-
"//": "==================================================================================================",
49-
"//": "base tslint rules",
48+
"//11": "==================================================================================================",
49+
"//12": "base tslint rules",
5050
"no-floating-promises": true,
5151
"no-implicit-dependencies": true,
5252
"no-import-side-effect": [true, {"ignore-module": "^(?!rxjs\/)"}],

0 commit comments

Comments
 (0)