Skip to content

Commit 55aa21e

Browse files
alan-agius4kyliau
authored andcommitted
style: add comments in tslint.json
1 parent 7bb40aa commit 55aa21e

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

tslint.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
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",
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
55
"extends": [
66
"tslint-no-circular-imports"
77
],
@@ -10,17 +10,15 @@
1010
"node_modules/tslint-sonarts/lib/rules"
1111
],
1212
"rules": {
13-
"//03": "==================================================================================================",
14-
"//04": "custom rules defined in etc/rules/**",
13+
// ==================================================================================================
14+
// custom rules defined in etc/rules/**
1515
"defocus": true,
1616
"import-groups": true,
1717
"no-global-tslint-disable": true,
1818
"single-eof-line": true,
19-
"//05": "==================================================================================================",
20-
21-
"//06": "==================================================================================================",
22-
"//07": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
23-
"//08": "These rules are part of the bug detection section of tslint-sonarts",
19+
// ==================================================================================================
20+
// tslint-sonarts rules. See https://github.com/SonarSource/SonarTS
21+
// These rules are part of the bug detection section of tslint-sonarts
2422
"no-big-function": true,
2523
"no-all-duplicated-branches": true,
2624
"no-case-with-or": true,
@@ -38,13 +36,11 @@
3836
"no-use-of-empty-return-value": true,
3937
"no-useless-increment": true,
4038

41-
"//09": "These rules are part of the code smell detection section of tslint-sonarts",
39+
//These rules are part of the code smell detection section of tslint-sonarts
4240
"no-dead-store": true,
4341
"no-useless-intersection": true,
44-
"//10": "==================================================================================================",
45-
46-
"//11": "==================================================================================================",
47-
"//12": "base tslint rules",
42+
// ==================================================================================================
43+
// base tslint rules
4844
"arrow-return-shorthand": true,
4945
"no-duplicate-imports": true,
5046
"no-angle-bracket-type-assertion": true,

0 commit comments

Comments
 (0)