|
11 | 11 | "block-scoped-var": [0],
|
12 | 12 | "brace-style": [2, "1tbs", { "allowSingleLine": true }],
|
13 | 13 | "camelcase": [2],
|
| 14 | + "comma-dangle": [2, "never"], |
14 | 15 | "comma-spacing": [2],
|
15 | 16 | "comma-style": [2, "last"],
|
16 | 17 | "complexity": [0, 11],
|
|
22 | 23 | "eol-last": [2],
|
23 | 24 | "eqeqeq": [2],
|
24 | 25 | "func-names": [0],
|
25 |
| - "func-style": [0, "declaration"], |
| 26 | + "func-style": [2, "expression"], |
| 27 | + "generator-star-spacing": [2, "after"], |
26 | 28 | "global-strict": [0, "never"],
|
27 | 29 | "guard-for-in": [0],
|
28 | 30 | "handle-callback-err": [0],
|
|
35 | 37 | "max-statements": [0, 10],
|
36 | 38 | "new-parens": [2],
|
37 | 39 | "new-cap": [2],
|
| 40 | + "newline-after-var": [0], |
38 | 41 | "no-alert": [2],
|
39 | 42 | "no-array-constructor": [2],
|
40 | 43 | "no-bitwise": [0],
|
41 | 44 | "no-caller": [2],
|
42 | 45 | "no-catch-shadow": [2],
|
43 |
| - "no-comma-dangle": [2], |
44 | 46 | "no-cond-assign": [2],
|
45 | 47 | "no-console": [2],
|
46 | 48 | "no-constant-condition": [2],
|
| 49 | + "no-continue": [2], |
47 | 50 | "no-control-regex": [2],
|
48 | 51 | "no-debugger": [2],
|
49 | 52 | "no-delete-var": [2],
|
50 | 53 | "no-div-regex": [0],
|
| 54 | + "no-dupe-args": [2], |
51 | 55 | "no-dupe-keys": [2],
|
| 56 | + "no-duplicate-case": [2], |
52 | 57 | "no-else-return": [0],
|
53 | 58 | "no-empty": [2],
|
54 | 59 | "no-empty-class": [2],
|
|
80 | 85 | "no-mixed-spaces-and-tabs": [2, false],
|
81 | 86 | "no-multi-spaces": [2],
|
82 | 87 | "no-multi-str": [2],
|
83 |
| - "no-multiple-empty-lines": [0, {"max": 2}], |
| 88 | + "no-multiple-empty-lines": [2, {"max": 1}], |
84 | 89 | "no-native-reassign": [2],
|
85 | 90 | "no-negated-in-lhs": [2],
|
86 | 91 | "no-nested-ternary": [0],
|
|
92 | 97 | "no-obj-calls": [2],
|
93 | 98 | "no-octal": [2],
|
94 | 99 | "no-octal-escape": [2],
|
| 100 | + "no-param-reassign": [2], |
95 | 101 | "no-path-concat": [0],
|
96 | 102 | "no-plusplus": [0],
|
97 | 103 | "no-process-env": [0],
|
|
112 | 118 | "no-sparse-arrays": [2],
|
113 | 119 | "no-sync": [0],
|
114 | 120 | "no-ternary": [0],
|
| 121 | + "no-throw-literal": [2], |
115 | 122 | "no-trailing-spaces": [2],
|
116 | 123 | "no-undef": [2],
|
117 | 124 | "no-undef-init": [2],
|
|
125 | 132 | "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
|
126 | 133 | "no-with": [2],
|
127 | 134 | "no-wrap-func": [2],
|
| 135 | + "object-shorthand": [2, "never"], |
128 | 136 | "one-var": [0],
|
129 | 137 | "operator-assignment": [0, "always"],
|
| 138 | + "operator-linebreak": [2, "after"], |
130 | 139 | "padded-blocks": [0],
|
131 | 140 | "quote-props": [0],
|
132 | 141 | "radix": [0],
|
133 | 142 | "semi": [2],
|
| 143 | + "semi-spacing": [2, { "before": false, "after": true }], |
134 | 144 | "sort-vars": [0],
|
135 |
| - "space-after-keywords": [2, "always", { "checkFunctionKeyword": true }], |
| 145 | + "space-after-keywords": [2, "always"], |
| 146 | + "space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], |
136 | 147 | "space-before-blocks": [0, "always"],
|
137 | 148 | "space-in-brackets": [0, "never", {
|
138 | 149 | "singleValue": true,
|
|
145 | 156 | "space-in-parens": [2, "never"],
|
146 | 157 | "space-infix-ops": [2],
|
147 | 158 | "space-return-throw-case": [2],
|
148 |
| - "space-after-function-name": [2, "never"], |
149 | 159 | "space-unary-ops": [2, { "words": true, "nonwords": false }],
|
150 | 160 | "spaced-line-comment": [0, "always"],
|
151 | 161 | "strict": [0],
|
|
0 commit comments