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