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