|
9 | 9 |
|
10 | 10 | "rules": {
|
11 | 11 | "accessor-pairs": [2, { getWithoutSet: false, setWithoutGet: true }],
|
| 12 | + "array-bracket-spacing": [2, "never", { |
| 13 | + "singleValue": false, |
| 14 | + "objectsInArrays": false, |
| 15 | + "arraysInArrays": false |
| 16 | + }], |
12 | 17 | "block-scoped-var": [0],
|
13 | 18 | "brace-style": [2, "1tbs", { "allowSingleLine": true }],
|
14 | 19 | "camelcase": [2],
|
15 | 20 | "comma-dangle": [2, "never"],
|
16 | 21 | "comma-spacing": [2],
|
17 | 22 | "comma-style": [2, "last"],
|
18 |
| - "complexity": [0, 11], |
| 23 | + "complexity": [2, 10], |
19 | 24 | "computed-property-spacing": [2, "never"],
|
20 | 25 | "consistent-return": [2],
|
21 | 26 | "consistent-this": [0, "that"],
|
| 27 | + "constructor-super": [2], |
22 | 28 | "curly": [2, "all"],
|
23 | 29 | "default-case": [2],
|
24 | 30 | "dot-notation": [2, { "allowKeywords": true }],
|
25 | 31 | "eol-last": [2],
|
26 | 32 | "eqeqeq": [2],
|
27 | 33 | "func-names": [0],
|
28 | 34 | "func-style": [2, "expression"],
|
29 |
| - "generator-star-spacing": [2, "after"], |
| 35 | + "generator-star-spacing": [2, { "before": false, "after": true }], |
30 | 36 | "global-strict": [0, "never"],
|
31 | 37 | "guard-for-in": [0],
|
32 | 38 | "handle-callback-err": [0],
|
33 | 39 | "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
|
34 | 40 | "linebreak-style": [2, "unix"],
|
35 |
| - "lines-around-comment": [2, { "beforeBlockComment": false, "afterBlockComment": false, "beforeLineComment": false, "beforeLineComment": false }], |
| 41 | + "lines-around-comment": [2, { |
| 42 | + "beforeBlockComment": false, |
| 43 | + "afterBlockComment": false, |
| 44 | + "beforeLineComment": false, |
| 45 | + "beforeLineComment": false, |
| 46 | + "allowBlockStart": true, |
| 47 | + "allowBlockEnd": true |
| 48 | + }], |
36 | 49 | "quotes": [2, "single", "avoid-escape"],
|
37 |
| - "max-depth": [0, 4], |
| 50 | + "max-depth": [2, 4], |
38 | 51 | "max-len": [0, 80, 4],
|
39 |
| - "max-nested-callbacks": [0, 2], |
40 |
| - "max-params": [0, 3], |
41 |
| - "max-statements": [0, 10], |
| 52 | + "max-nested-callbacks": [2, 2], |
| 53 | + "max-params": [2, 2], |
| 54 | + "max-statements": [2, 12], |
42 | 55 | "new-parens": [2],
|
43 | 56 | "new-cap": [2],
|
44 | 57 | "newline-after-var": [0],
|
|
111 | 124 | "no-regex-spaces": [2],
|
112 | 125 | "no-reserved-keys": [2],
|
113 | 126 | "no-restricted-modules": [0],
|
114 |
| - "no-return-assign": [2], |
| 127 | + "no-return-assign": [2, "always"], |
115 | 128 | "no-script-url": [2],
|
116 | 129 | "no-self-compare": [0],
|
117 | 130 | "no-sequences": [2],
|
|
122 | 135 | "no-sparse-arrays": [2],
|
123 | 136 | "no-sync": [0],
|
124 | 137 | "no-ternary": [0],
|
| 138 | + "no-this-before-super": [2], |
125 | 139 | "no-throw-literal": [2],
|
126 | 140 | "no-trailing-spaces": [2, { "skipBlankLines": false }],
|
127 | 141 | "no-undef": [2],
|
128 | 142 | "no-undef-init": [2],
|
129 | 143 | "no-undefined": [0],
|
130 | 144 | "no-underscore-dangle": [2],
|
| 145 | + "no-unexpected-multiline": [2], |
131 | 146 | "no-unneeded-ternary": [2],
|
132 | 147 | "no-unreachable": [2],
|
133 | 148 | "no-unused-expressions": [2],
|
|
0 commit comments