|
12 | 12 | }, |
13 | 13 |
|
14 | 14 | "rules": { |
15 | | - "strict": 2, |
| 15 | + "strict": [ 2, "global" ], |
16 | 16 |
|
17 | 17 | "for-direction": 2, |
18 | 18 | "getter-return": 2, |
|
86 | 86 | "template-curly-spacing": [ 2, "never" ], |
87 | 87 | "yield-star-spacing": [ "error", { "before": true, "after": true } ], |
88 | 88 |
|
89 | | - "array-bracket-newline": [ 2, { "multiline": true, "minItems": 3 } ], |
| 89 | + "array-bracket-newline": [ 2, "consistent" ], |
90 | 90 | "array-bracket-spacing": [ 2, "always"], |
91 | | - "array-element-newline": [ 2, { "multiline": true, "minItems": 3 } ], |
92 | 91 | "block-spacing" : 2, |
93 | 92 | "brace-style": [ 2, "1tbs", { "allowSingleLine": true } ], |
94 | 93 | "comma-dangle": [ 2, { "arrays": "only-multiline", "objects": "only-multiline", "imports": "never", "exports": "never", "functions": "ignore" } ], |
|
112 | 111 | "no-trailing-spaces": 2, |
113 | 112 | "no-unneeded-ternary": 2, |
114 | 113 |
|
115 | | - "object-curly-newline": [ 2, { "ObjectExpression": { "multiline": true, "minProperties": 8 }, "ObjectPattern": { "multiline": true, "minProperties": 8 }, "ImportDeclaration": { "multiline": true, "minProperties": 8 }, "ExportDeclaration": { "multiline": true, "minProperties": 8 } } ], |
116 | 114 | "object-curly-spacing": [ 2, "always", { "arraysInObjects": true, "objectsInObjects": true } ], |
117 | 115 | "one-var": [ 2, { "var": "always", "let": "consecutive", "const": "never" } ], |
118 | 116 |
|
|
0 commit comments