|
1 | 1 | {
|
2 |
| - "root": true, |
| 2 | + "root": true, |
3 | 3 |
|
4 |
| - "extends": "@ljharb", |
| 4 | + "extends": "@ljharb", |
5 | 5 |
|
6 |
| - "rules": { |
7 |
| - "array-bracket-newline": 0, |
8 |
| - "array-bracket-spacing": 1, |
9 |
| - "array-callback-return": 1, |
10 |
| - "brace-style": 1, |
11 |
| - "comma-spacing": 1, |
12 |
| - "complexity": 0, |
13 |
| - "consistent-return": 1, |
14 |
| - "curly": 1, |
15 |
| - "eqeqeq": 1, |
16 |
| - "func-style": 1, |
17 |
| - "indent": [1, 4], |
18 |
| - "max-depth": 0, |
19 |
| - "max-lines-per-function": 1, |
20 |
| - "max-statements": 0, |
21 |
| - "multiline-comment-style": 0, |
22 |
| - "no-else-return": 1, |
23 |
| - "no-lonely-if": 1, |
24 |
| - "no-negated-condition": 1, |
25 |
| - "no-param-reassign": 1, |
26 |
| - "no-shadow": 1, |
27 |
| - "no-template-curly-in-string": 0, |
28 |
| - "no-trailing-spaces": 1, |
29 |
| - "no-use-before-define": 1, |
30 |
| - "no-useless-escape": 1, |
31 |
| - "nonblock-statement-body-position": 1, |
32 |
| - "object-curly-spacing": 1, |
33 |
| - "prefer-regex-literals": 1, |
34 |
| - "quotes": 1, |
35 |
| - "space-before-blocks": 1, |
36 |
| - "space-before-function-paren": 1, |
37 |
| - "space-infix-ops": 1, |
38 |
| - "spaced-comment": 1, |
39 |
| - "wrap-regex": 1, |
40 |
| - }, |
| 6 | + "rules": { |
| 7 | + "array-bracket-newline": 0, |
| 8 | + "array-callback-return": 1, |
| 9 | + "brace-style": 1, |
| 10 | + "complexity": 0, |
| 11 | + "consistent-return": 1, |
| 12 | + "curly": 1, |
| 13 | + "eqeqeq": 1, |
| 14 | + "func-style": 1, |
| 15 | + "max-depth": 0, |
| 16 | + "max-lines-per-function": 1, |
| 17 | + "max-statements": 0, |
| 18 | + "multiline-comment-style": 0, |
| 19 | + "no-else-return": 1, |
| 20 | + "no-lonely-if": 1, |
| 21 | + "no-negated-condition": 1, |
| 22 | + "no-param-reassign": 1, |
| 23 | + "no-shadow": 1, |
| 24 | + "no-template-curly-in-string": 0, |
| 25 | + "no-use-before-define": 1, |
| 26 | + "no-useless-escape": 1, |
| 27 | + "nonblock-statement-body-position": 1, |
| 28 | + "prefer-regex-literals": 1, |
| 29 | + "quotes": 1, |
| 30 | + "wrap-regex": 1, |
| 31 | + }, |
41 | 32 |
|
42 |
| - "overrides": [ |
43 |
| - { |
44 |
| - "files": "example/**", |
45 |
| - "rules": { |
46 |
| - "no-console": 0, |
47 |
| - }, |
48 |
| - }, |
49 |
| - ], |
| 33 | + "overrides": [ |
| 34 | + { |
| 35 | + "files": "example/**", |
| 36 | + "rules": { |
| 37 | + "no-console": 0, |
| 38 | + }, |
| 39 | + }, |
| 40 | + ], |
50 | 41 | }
|
0 commit comments