|
1 | 1 | {
|
2 |
| - "extends": ["tslint-react"], |
3 |
| - "rules": { |
4 |
| - "align": [ |
5 |
| - true, |
6 |
| - "parameters", |
7 |
| - "arguments", |
8 |
| - "statements" |
9 |
| - ], |
10 |
| - "ban": false, |
11 |
| - "class-name": true, |
12 |
| - "comment-format": [ |
13 |
| - true, |
14 |
| - "check-space" |
15 |
| - ], |
16 |
| - "curly": true, |
17 |
| - "eofline": false, |
18 |
| - "forin": true, |
19 |
| - "indent": [ true, "spaces" ], |
20 |
| - "interface-name": [true, "never-prefix"], |
21 |
| - "jsdoc-format": true, |
22 |
| - "jsx-no-lambda": false, |
23 |
| - "jsx-no-multiline-js": false, |
24 |
| - "label-position": true, |
25 |
| - "max-line-length": [ true, 120 ], |
26 |
| - "member-ordering": [ |
27 |
| - true, |
28 |
| - "public-before-private", |
29 |
| - "static-before-instance", |
30 |
| - "variables-before-functions" |
31 |
| - ], |
32 |
| - "no-any": false, |
33 |
| - "no-arg": true, |
34 |
| - "no-bitwise": true, |
35 |
| - "no-console": [ |
36 |
| - true, |
37 |
| - "log", |
38 |
| - "error", |
39 |
| - "debug", |
40 |
| - "info", |
41 |
| - "time", |
42 |
| - "timeEnd", |
43 |
| - "trace" |
44 |
| - ], |
45 |
| - "no-consecutive-blank-lines": true, |
46 |
| - "no-construct": true, |
47 |
| - "no-debugger": true, |
48 |
| - "no-duplicate-variable": true, |
49 |
| - "no-empty": true, |
50 |
| - "no-eval": true, |
51 |
| - "no-shadowed-variable": true, |
52 |
| - "no-string-literal": true, |
53 |
| - "no-switch-case-fall-through": true, |
54 |
| - "no-trailing-whitespace": false, |
55 |
| - "no-unused-expression": true, |
56 |
| - "no-use-before-declare": true, |
57 |
| - "one-line": [ |
58 |
| - true, |
59 |
| - "check-catch", |
60 |
| - "check-else", |
61 |
| - "check-open-brace", |
62 |
| - "check-whitespace" |
63 |
| - ], |
64 |
| - "quotemark": [true, "double", "jsx-double"], |
65 |
| - "radix": true, |
66 |
| - "semicolon": [true, "always", "ignore-bound-class-methods"], |
67 |
| - "switch-default": true, |
| 2 | + "extends": ["tslint-react"], |
| 3 | + "rules": { |
| 4 | + "align": [true, "parameters", "arguments", "statements"], |
| 5 | + "ban": false, |
| 6 | + "class-name": true, |
| 7 | + "comment-format": [true, "check-space"], |
| 8 | + "curly": true, |
| 9 | + "eofline": false, |
| 10 | + "forin": true, |
| 11 | + "indent": [true, "spaces"], |
| 12 | + "interface-name": [true, "never-prefix"], |
| 13 | + "jsdoc-format": true, |
| 14 | + "jsx-no-lambda": false, |
| 15 | + "jsx-no-multiline-js": false, |
| 16 | + "label-position": true, |
| 17 | + "max-line-length": [true, 120], |
| 18 | + "member-ordering": [ |
| 19 | + true, |
| 20 | + "public-before-private", |
| 21 | + "static-before-instance", |
| 22 | + "variables-before-functions" |
| 23 | + ], |
| 24 | + "no-any": false, |
| 25 | + "no-arg": true, |
| 26 | + "no-bitwise": true, |
| 27 | + "no-console": [ |
| 28 | + true, |
| 29 | + "log", |
| 30 | + "error", |
| 31 | + "debug", |
| 32 | + "info", |
| 33 | + "time", |
| 34 | + "timeEnd", |
| 35 | + "trace" |
| 36 | + ], |
| 37 | + "no-consecutive-blank-lines": true, |
| 38 | + "no-construct": true, |
| 39 | + "no-debugger": true, |
| 40 | + "no-duplicate-variable": true, |
| 41 | + "no-empty": true, |
| 42 | + "no-eval": true, |
| 43 | + "no-shadowed-variable": true, |
| 44 | + "no-string-literal": true, |
| 45 | + "no-switch-case-fall-through": true, |
| 46 | + "no-trailing-whitespace": false, |
| 47 | + "no-unused-expression": true, |
| 48 | + "no-use-before-declare": true, |
| 49 | + "one-line": [ |
| 50 | + true, |
| 51 | + "check-catch", |
| 52 | + "check-else", |
| 53 | + "check-open-brace", |
| 54 | + "check-whitespace" |
| 55 | + ], |
| 56 | + "quotemark": [true, "double", "jsx-double"], |
| 57 | + "radix": true, |
| 58 | + "semicolon": [true, "always", "ignore-bound-class-methods"], |
| 59 | + "switch-default": true, |
68 | 60 |
|
69 |
| - "trailing-comma": [false], |
| 61 | + "trailing-comma": [false], |
70 | 62 |
|
71 |
| - "triple-equals": [ true, "allow-null-check" ], |
72 |
| - "typedef": [ |
73 |
| - true, |
74 |
| - "parameter", |
75 |
| - "property-declaration" |
76 |
| - ], |
77 |
| - "typedef-whitespace": [ |
78 |
| - true, |
79 |
| - { |
80 |
| - "call-signature": "nospace", |
81 |
| - "index-signature": "nospace", |
82 |
| - "parameter": "nospace", |
83 |
| - "property-declaration": "nospace", |
84 |
| - "variable-declaration": "nospace" |
85 |
| - } |
86 |
| - ], |
87 |
| - "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"], |
88 |
| - "whitespace": [ |
89 |
| - true, |
90 |
| - "check-branch", |
91 |
| - "check-decl", |
92 |
| - "check-module", |
93 |
| - "check-operator", |
94 |
| - "check-separator", |
95 |
| - "check-type", |
96 |
| - "check-typecast" |
97 |
| - ] |
98 |
| - } |
| 63 | + "triple-equals": [true, "allow-null-check"], |
| 64 | + "typedef": [true, "parameter", "property-declaration"], |
| 65 | + "typedef-whitespace": [ |
| 66 | + true, |
| 67 | + { |
| 68 | + "call-signature": "nospace", |
| 69 | + "index-signature": "nospace", |
| 70 | + "parameter": "nospace", |
| 71 | + "property-declaration": "nospace", |
| 72 | + "variable-declaration": "nospace" |
| 73 | + } |
| 74 | + ], |
| 75 | + "variable-name": [ |
| 76 | + true, |
| 77 | + "ban-keywords", |
| 78 | + "check-format", |
| 79 | + "allow-leading-underscore", |
| 80 | + "allow-pascal-case" |
| 81 | + ], |
| 82 | + "whitespace": [ |
| 83 | + true, |
| 84 | + "check-branch", |
| 85 | + "check-decl", |
| 86 | + "check-module", |
| 87 | + "check-operator", |
| 88 | + "check-separator", |
| 89 | + "check-type", |
| 90 | + "check-typecast" |
| 91 | + ] |
| 92 | + } |
99 | 93 | }
|
0 commit comments