|
1 | 1 | {
|
2 |
| - "extends": [ "tslint-eslint-rules" ], |
| 2 | + "extends": ["tslint-eslint-rules"], |
3 | 3 | "rules": {
|
4 | 4 | "align": [true, "parameters", "statements"],
|
5 | 5 | "ban": false,
|
6 | 6 | "class-name": true,
|
7 |
| - "comment-format": [ true, "check-space" ], |
| 7 | + "comment-format": [true, "check-space"], |
8 | 8 | "curly": false,
|
9 | 9 | "eofline": true,
|
10 | 10 | "forin": true,
|
11 |
| - "indent": [ true, "spaces" ], |
| 11 | + "indent": [true, "spaces"], |
12 | 12 | "label-position": true,
|
13 | 13 | "max-line-length": [true, 180],
|
14 | 14 | "member-access": false,
|
15 |
| - "member-ordering": [ true, "static-before-instance", "variables-before-functions" ], |
| 15 | + "member-ordering": [true, "static-before-instance", "variables-before-functions"], |
16 | 16 | "no-arg": true,
|
17 | 17 | "no-bitwise": true,
|
18 | 18 | "no-conditional-assignment": true,
|
19 |
| - "no-console": [ true, "log", "warn", "debug", "info", "time", "timeEnd", "trace" ], |
| 19 | + "no-console": [true, "log", "warn", "debug", "info", "time", "timeEnd", "trace"], |
20 | 20 | "no-construct": true,
|
21 | 21 | "no-debugger": true,
|
22 | 22 | "no-duplicate-variable": true,
|
|
27 | 27 | "no-string-literal": false,
|
28 | 28 | "no-switch-case-fall-through": true,
|
29 | 29 | "no-trailing-whitespace": true,
|
30 |
| - "no-unused-expression": [ true, "allow-fast-null-checks" ], |
| 30 | + "no-unused-expression": [true, "allow-fast-null-checks"], |
31 | 31 | "no-unused-variable": true,
|
32 | 32 | "no-use-before-declare": true,
|
33 | 33 | "no-var-keyword": true,
|
34 | 34 | "object-curly-spacing": "always",
|
35 | 35 | "object-literal-sort-keys": false,
|
36 |
| - "one-line": [ true, "check-catch", "check-else", "check-open-brace", "check-whitespace" ], |
37 |
| - "prefer-const": [ true, { "destructuring": "all" } ], |
38 |
| - "quotemark": [ true, "single", "avoid-escape", "jsx-double" ], |
| 36 | + "one-line": [true, "check-catch", "check-else", "check-open-brace", "check-whitespace"], |
| 37 | + "prefer-const": [true, { "destructuring": "all" }], |
| 38 | + "quotemark": [true, "single", "avoid-escape", "jsx-double"], |
39 | 39 | "radix": true,
|
40 |
| - "semicolon": [ true, "always", "ignore-bound-class-methods", "ignore-interfaces" ], |
41 |
| - "trailing-comma": [true, {"multiline": "always", "singleline": "never"}], |
42 |
| - "triple-equals": [ true, "allow-null-check" ], |
43 |
| - "typedef": [ "call-signature", "property-declaration" ], |
44 |
| - "typedef-whitespace": [ true, { "call-signature": "nospace", "index-signature": "nospace", "parameter": "nospace", "property-declaration": "nospace", "variable-declaration": "nospace" } ], |
45 |
| - "variable-name": [ true, "ban-keywords", "allow-leading-underscore" ], |
46 |
| - "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ], |
| 40 | + "semicolon": [true, "always", "ignore-bound-class-methods", "ignore-interfaces"], |
| 41 | + "trailing-comma": [true, { "multiline": "always", "singleline": "never" }], |
| 42 | + "triple-equals": [true, "allow-null-check"], |
| 43 | + "typedef": ["call-signature", "property-declaration"], |
| 44 | + "typedef-whitespace": [ |
| 45 | + true, |
| 46 | + { |
| 47 | + "call-signature": "nospace", |
| 48 | + "index-signature": "nospace", |
| 49 | + "parameter": "nospace", |
| 50 | + "property-declaration": "nospace", |
| 51 | + "variable-declaration": "nospace" |
| 52 | + } |
| 53 | + ], |
| 54 | + "variable-name": [true, "ban-keywords", "allow-leading-underscore"], |
| 55 | + "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"], |
47 | 56 | "jsx-no-multiline-js": false,
|
48 | 57 | "jsx-no-lambda": false
|
49 | 58 | }
|
50 | 59 | }
|
51 |
| - |
|
0 commit comments