|
1 | 1 | { |
2 | 2 | "rules": { |
| 3 | + "align": [ |
| 4 | + true, |
| 5 | + "parameters", |
| 6 | + "arguments", |
| 7 | + "statements" |
| 8 | + ], |
| 9 | + "ban": false, |
3 | 10 | "class-name": true, |
4 | 11 | "comment-format": [ |
5 | 12 | true, |
6 | 13 | "check-space" |
7 | 14 | ], |
| 15 | + "curly": false, |
| 16 | + "eofline": true, |
| 17 | + "forin": true, |
8 | 18 | "indent": [ |
9 | 19 | true, |
10 | 20 | "spaces" |
11 | 21 | ], |
12 | | - "no-debugger": false, |
| 22 | + "interface-name": false, |
| 23 | + "jsdoc-format": true, |
| 24 | + "label-position": true, |
| 25 | + "label-undefined": true, |
| 26 | + "max-line-length": [ |
| 27 | + true, |
| 28 | + 140 |
| 29 | + ], |
| 30 | + "member-ordering": [ |
| 31 | + true, |
| 32 | + "public-before-private", |
| 33 | + "static-before-instance", |
| 34 | + "variables-before-functions" |
| 35 | + ], |
| 36 | + "no-any": false, |
| 37 | + "no-arg": true, |
| 38 | + "no-bitwise": true, |
| 39 | + "no-console": [ |
| 40 | + true, |
| 41 | + "debug", |
| 42 | + "info", |
| 43 | + "time", |
| 44 | + "timeEnd", |
| 45 | + "trace" |
| 46 | + ], |
| 47 | + "no-construct": true, |
| 48 | + "no-constructor-vars": false, |
| 49 | + "no-debugger": true, |
| 50 | + "no-duplicate-key": true, |
| 51 | + "no-shadowed-variable": true, |
13 | 52 | "no-duplicate-variable": true, |
| 53 | + "no-empty": true, |
14 | 54 | "no-eval": true, |
15 | 55 | "no-internal-module": true, |
| 56 | + "no-require-imports": true, |
| 57 | + "no-string-literal": true, |
| 58 | + "no-switch-case-fall-through": true, |
| 59 | + "trailing-comma": { |
| 60 | + "singleline": "never", |
| 61 | + "multiline": "always" |
| 62 | + }, |
16 | 63 | "no-trailing-whitespace": true, |
| 64 | + "no-unreachable": true, |
| 65 | + "no-unused-expression": true, |
| 66 | + "no-unused-variable": [true, "react"], |
| 67 | + "no-use-before-declare": true, |
17 | 68 | "no-var-keyword": true, |
| 69 | + "no-var-requires": false, |
18 | 70 | "one-line": [ |
19 | 71 | true, |
20 | 72 | "check-open-brace", |
| 73 | + "check-catch", |
| 74 | + "check-else", |
21 | 75 | "check-whitespace" |
22 | 76 | ], |
23 | 77 | "quotemark": [ |
24 | 78 | true, |
25 | 79 | "single", |
26 | 80 | "jsx-double" |
27 | 81 | ], |
| 82 | + "radix": true, |
28 | 83 | "semicolon": [ |
29 | 84 | true, |
30 | 85 | "always" |
31 | 86 | ], |
| 87 | + "switch-default": true, |
32 | 88 | "triple-equals": [ |
33 | 89 | true, |
34 | 90 | "allow-null-check" |
35 | 91 | ], |
| 92 | + "typedef": [ |
| 93 | + false, |
| 94 | + "call-signature", |
| 95 | + "parameter", |
| 96 | + "property-declaration", |
| 97 | + "member-variable-declaration" |
| 98 | + ], |
36 | 99 | "typedef-whitespace": [ |
37 | 100 | true, { |
38 | 101 | "call-signature": "nospace", |
|
42 | 105 | "variable-declaration": "nospace" |
43 | 106 | } |
44 | 107 | ], |
| 108 | + "use-strict": [ |
| 109 | + false, |
| 110 | + "check-module", |
| 111 | + "check-function" |
| 112 | + ], |
45 | 113 | "variable-name": [ |
46 | 114 | true, |
47 | 115 | "ban-keywords" |
|
0 commit comments