|
7 | 7 | "commonjs": true
|
8 | 8 | },
|
9 | 9 | "rules": {
|
10 |
| - "no-trailing-spaces": [0], |
| 10 | + "no-trailing-spaces": [2], |
11 | 11 | "no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}],
|
12 | 12 | "linebreak-style": [2, "unix"],
|
13 |
| - "indent": [0, 4], |
| 13 | + "indent": [2, 4, {"SwitchCase": 1}], |
14 | 14 | "max-len": [0, 80],
|
15 |
| - "brace-style": [0, "stroustrup", { "allowSingleLine": true }], |
| 15 | + "brace-style": [0, "stroustrup", {"allowSingleLine": true}], |
16 | 16 | "curly": [0, "multi"],
|
17 | 17 | "camelcase": [0, {"properties": "never"}],
|
18 | 18 | "comma-spacing": [0, {"before": false, "after": true}],
|
19 |
| - "comma-style": [0, "last"], |
| 19 | + "comma-style": [2, "last"], |
20 | 20 | "semi": [2],
|
21 | 21 | "semi-spacing": [2, {"before": false, "after": true}],
|
22 | 22 | "key-spacing": [0, {"beforeColon": false, "afterColon": true}],
|
23 | 23 | "no-spaced-func": [2],
|
24 | 24 | "space-in-parens": [2, "never"],
|
25 | 25 | "space-before-function-paren": [0, "never"],
|
26 |
| - "no-multi-spaces": [0], |
| 26 | + "no-multi-spaces": [2], |
27 | 27 | "space-infix-ops": [0, {"int32Hint": false}],
|
28 | 28 | "quotes": [2, "single"],
|
29 | 29 | "dot-notation": [2, {"allowKeywords": false}],
|
30 | 30 | "eqeqeq": [2],
|
31 |
| - "new-cap": [2], |
| 31 | + "new-cap": [0], |
32 | 32 | "no-redeclare": [2, {"builtinGlobals": true}],
|
33 | 33 | "no-shadow": [0, {"builtinGlobals": true}],
|
34 | 34 | "block-scoped-var": [2],
|
|
0 commit comments