Skip to content

Commit 029b678

Browse files
bennycodemhegazy
authored andcommitted
Sorted rules alphabetically (#16252)
1 parent 5ea8466 commit 029b678

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

tslint.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
11
{
22
"rulesDirectory": "built/local/tslint",
33
"rules": {
4-
"no-bom": true,
4+
"boolean-trivia": true,
55
"class-name": true,
66
"comment-format": [true,
77
"check-space"
88
],
99
"indent": [true,
1010
"spaces"
1111
],
12+
"jsdoc-format": true,
1213
"linebreak-style": [true, "CRLF"],
14+
"next-line": [true,
15+
"check-catch",
16+
"check-else"
17+
],
18+
"no-bom": true,
19+
"no-in-operator": true,
20+
"no-increment-decrement": true,
21+
"no-inferrable-types": true,
22+
"no-internal-module": true,
23+
"no-null-keyword": true,
24+
"no-switch-case-fall-through": true,
25+
"no-trailing-whitespace": [true, "ignore-template-strings"],
26+
"no-type-assertion-whitespace": true,
27+
"no-var-keyword": true,
28+
"object-literal-surrounding-space": true,
1329
"one-line": [true,
1430
"check-open-brace",
1531
"check-whitespace"
1632
],
17-
"no-var-keyword": true,
33+
"prefer-const": true,
1834
"quotemark": [true,
1935
"double",
2036
"avoid-escape"
2137
],
2238
"semicolon": [true, "always", "ignore-bound-class-methods"],
23-
"whitespace": [true,
24-
"check-branch",
25-
"check-decl",
26-
"check-operator",
27-
"check-module",
28-
"check-separator",
29-
"check-type"
30-
],
39+
"triple-equals": true,
40+
"type-operator-spacing": true,
3141
"typedef-whitespace": [
3242
true,
3343
{
@@ -45,23 +55,13 @@
4555
"variable-declaration": "onespace"
4656
}
4757
],
48-
"next-line": [true,
49-
"check-catch",
50-
"check-else"
51-
],
52-
"no-internal-module": true,
53-
"no-trailing-whitespace": [true, "ignore-template-strings"],
54-
"no-inferrable-types": true,
55-
"no-null-keyword": true,
56-
"boolean-trivia": true,
57-
"type-operator-spacing": true,
58-
"prefer-const": true,
59-
"no-increment-decrement": true,
60-
"object-literal-surrounding-space": true,
61-
"no-type-assertion-whitespace": true,
62-
"no-in-operator": true,
63-
"no-switch-case-fall-through": true,
64-
"triple-equals": true,
65-
"jsdoc-format": true
66-
}
58+
"whitespace": [true,
59+
"check-branch",
60+
"check-decl",
61+
"check-operator",
62+
"check-module",
63+
"check-separator",
64+
"check-type"
65+
]
66+
}
6767
}

0 commit comments

Comments
 (0)