|
12 | 12 | "node": true |
13 | 13 | }, |
14 | 14 | "rules": { |
| 15 | + "comma-dangle": [2, "never"], |
| 16 | + "comma-style": [2, "last"], |
| 17 | + "curly": [2, "all"], |
| 18 | + "eol-last": 2, |
15 | 19 | "eqeqeq": [2, "smart"], |
16 | 20 | "guard-for-in": 2, |
| 21 | + "keyword-spacing": [2, {}], |
17 | 22 | "lines-around-comment": [ |
18 | 23 | 2, |
19 | 24 | { |
|
34 | 39 | "no-constant-condition": 2, |
35 | 40 | "no-debugger": 2, |
36 | 41 | "no-else-return": 2, |
| 42 | + "no-empty": [2, {"allowEmptyCatch": true}], |
37 | 43 | "no-eval": 2, |
38 | 44 | "no-ex-assign": 2, |
39 | 45 | "no-extend-native": 2, |
|
50 | 56 | "no-lone-blocks": 2, |
51 | 57 | "no-lonely-if": 2, |
52 | 58 | "no-loop-func": 2, |
| 59 | + "no-mixed-spaces-and-tabs": 2, |
53 | 60 | "no-multi-str": 2, |
| 61 | + "no-multiple-empty-lines": 2, |
54 | 62 | "no-native-reassign": 2, |
55 | 63 | "no-negated-in-lhs": 2, |
56 | 64 | "no-new-object": 2, |
|
60 | 68 | "no-return-assign": 2, |
61 | 69 | "no-self-compare": 2, |
62 | 70 | "no-shadow": 2, |
| 71 | + "no-trailing-spaces": 2, |
63 | 72 | "no-undef": 2, |
64 | 73 | "no-undef-init": 2, |
65 | 74 | "no-unreachable": 2, |
|
73 | 82 | ], |
74 | 83 | "no-use-before-define": 2, |
75 | 84 | "no-with": 2, |
| 85 | + "one-var": [2, "always"], |
76 | 86 | "operator-assignment": [2, "always"], |
| 87 | + "quotes": [2, "single"], |
77 | 88 | "radix": 2, |
78 | 89 | "semi": [2, "always"], |
79 | 90 | "semi-spacing": 2, |
| 91 | + "space-before-blocks": [2, "always"], |
| 92 | + "space-before-function-paren": [2, {"anonymous": "always", "named": "never", "asyncArrow": "always"}], |
| 93 | + "space-in-parens": [2, "never"], |
| 94 | + "space-infix-ops": 2, |
| 95 | + "space-unary-ops": [2, {"words": false, "nonwords": false}], |
80 | 96 | "strict": ["error", "function"], |
81 | 97 | "use-isnan": 2, |
82 | 98 | "valid-typeof": 2, |
|
0 commit comments