|
8 | 8 | },
|
9 | 9 |
|
10 | 10 | "rules": {
|
| 11 | + "accessor-pairs": [2, { getWithoutSet: false, setWithoutGet: true }], |
11 | 12 | "block-scoped-var": [0],
|
12 | 13 | "brace-style": [2, "1tbs", { "allowSingleLine": true }],
|
13 | 14 | "camelcase": [2],
|
14 | 15 | "comma-dangle": [2, "never"],
|
15 | 16 | "comma-spacing": [2],
|
16 | 17 | "comma-style": [2, "last"],
|
17 | 18 | "complexity": [0, 11],
|
| 19 | + "computed-property-spacing": [2, "never"], |
18 | 20 | "consistent-return": [2],
|
19 | 21 | "consistent-this": [0, "that"],
|
20 | 22 | "curly": [2, "all"],
|
|
30 | 32 | "handle-callback-err": [0],
|
31 | 33 | "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
|
32 | 34 | "linebreak-style": [2, "unix"],
|
| 35 | + "lines-around-comment": [2, { "beforeBlockComment": false, "afterBlockComment": false, "beforeLineComment": false, "beforeLineComment": false }], |
33 | 36 | "quotes": [2, "single", "avoid-escape"],
|
34 | 37 | "max-depth": [0, 4],
|
35 | 38 | "max-len": [0, 80, 4],
|
|
57 | 60 | "no-duplicate-case": [2],
|
58 | 61 | "no-else-return": [0],
|
59 | 62 | "no-empty": [2],
|
60 |
| - "no-empty-class": [2], |
| 63 | + "no-empty-character-class": [2], |
61 | 64 | "no-empty-label": [2],
|
62 | 65 | "no-eq-null": [0],
|
63 | 66 | "no-eval": [2],
|
|
134 | 137 | "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
|
135 | 138 | "no-with": [2],
|
136 | 139 | "no-wrap-func": [2],
|
| 140 | + "object-curly-spacing": [2, "always"], |
137 | 141 | "object-shorthand": [2, "never"],
|
138 | 142 | "one-var": [0],
|
139 | 143 | "operator-assignment": [0, "always"],
|
140 | 144 | "operator-linebreak": [2, "none"],
|
141 | 145 | "padded-blocks": [0],
|
| 146 | + "prefer-const": [0], |
142 | 147 | "quote-props": [0],
|
143 | 148 | "radix": [0],
|
144 | 149 | "semi": [2],
|
|
159 | 164 | "space-infix-ops": [2],
|
160 | 165 | "space-return-throw-case": [2],
|
161 | 166 | "space-unary-ops": [2, { "words": true, "nonwords": false }],
|
| 167 | + "spaced-comment": [2, "always"], |
162 | 168 | "spaced-line-comment": [0, "always"],
|
163 | 169 | "strict": [0],
|
164 | 170 | "use-isnan": [2],
|
|
167 | 173 | "vars-on-top": [0],
|
168 | 174 | "wrap-iife": [2],
|
169 | 175 | "wrap-regex": [2],
|
170 |
| - "yoda": [2, "never", { "exceptRange": true }] |
| 176 | + "yoda": [2, "never", { "exceptRange": true, "onlyEquality": false }] |
171 | 177 | }
|
172 | 178 | }
|
0 commit comments