|
7 | 7 | "rules": {
|
8 | 8 | "block-scoped-var": 2,
|
9 | 9 | "camelcase": 0,
|
| 10 | + "comma-spacing": [1, {"before": false, "after": true}], |
10 | 11 | "consistent-return": 2,
|
11 | 12 | "curly": [2, "all"],
|
12 | 13 | "dot-notation": [1, { "allowKeywords": true }],
|
13 | 14 | "eqeqeq": [2, "allow-null"],
|
14 | 15 | "global-strict": [0, "never"],
|
15 | 16 | "guard-for-in": 2,
|
16 |
| - "indent": [2, 2, {"SwitchCase": 2, "VariableDeclarator": 2}], |
| 17 | + "indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": 2}], |
| 18 | + "lines-around-comment": [2, { |
| 19 | + "beforeBlockComment": true, |
| 20 | + "beforeLineComment": true, |
| 21 | + "allowBlockStart": true, |
| 22 | + "allowObjectStart": true, |
| 23 | + "allowArrayStart": true |
| 24 | + }], |
17 | 25 | "key-spacing": 0,
|
18 |
| - "keyword-spacing": 2, |
| 26 | + "keyword-spacing": 1, |
19 | 27 | "new-cap": 0,
|
20 | 28 | "no-alert": 2,
|
21 | 29 | "no-bitwise": 2,
|
|
50 | 58 | "no-sequences": 2,
|
51 | 59 | "no-shadow": 2,
|
52 | 60 | "no-undef": 2,
|
53 |
| - "no-underscore-dangle": 1, |
| 61 | + "no-underscore-dangle": 0, |
54 | 62 | "no-unreachable": 1,
|
55 | 63 | "no-unused-vars": 1,
|
56 | 64 | "no-use-before-define": 1,
|
|
66 | 74 | "anonymous": "always",
|
67 | 75 | "named": "never"
|
68 | 76 | }],
|
| 77 | + "space-in-parens": [1, "never"], |
69 | 78 | "space-infix-ops": 1,
|
70 | 79 | "valid-typeof": 2,
|
71 | 80 | "vars-on-top": 0,
|
|
0 commit comments