|
1 | 1 | { |
2 | | - "root": true, |
3 | | - "env": { |
4 | | - "commonjs": true, |
5 | | - }, |
6 | | - "rules": { |
7 | | - "no-alert": 2, |
8 | | - "no-array-constructor": 2, |
9 | | - "no-caller": 2, |
10 | | - "no-catch-shadow": 2, |
11 | | - "no-empty-label": 2, |
12 | | - "no-eval": 2, |
13 | | - "no-extend-native": 2, |
14 | | - "no-extra-bind": 2, |
15 | | - "no-implied-eval": 2, |
16 | | - "no-iterator": 2, |
17 | | - "no-label-var": 2, |
18 | | - "no-labels": 2, |
19 | | - "no-lone-blocks": 2, |
20 | | - "no-loop-func": 2, |
21 | | - "no-multi-str": 2, |
22 | | - "no-native-reassign": 2, |
23 | | - "no-new": 2, |
24 | | - "no-new-func": 2, |
25 | | - "no-new-object": 2, |
26 | | - "no-new-wrappers": 2, |
27 | | - "no-octal-escape": 2, |
28 | | - "no-proto": 2, |
29 | | - "no-return-assign": 2, |
30 | | - "no-script-url": 2, |
31 | | - "no-sequences": 2, |
32 | | - "no-shadow": 2, |
33 | | - "no-shadow-restricted-names": 2, |
34 | | - "no-spaced-func": 2, |
35 | | - "no-trailing-spaces": 1, |
36 | | - "no-undef-init": 2, |
37 | | - "no-unused-expressions": 2, |
38 | | - "no-use-before-define": [2, "nofunc"], |
39 | | - "no-with": 2, |
40 | | - "camelcase": 2, |
41 | | - "comma-spacing": 1, |
42 | | - "consistent-return": 2, |
43 | | - "curly": [2, "all"], |
44 | | - "dot-notation": [2, { "allowKeywords": true }], |
45 | | - "eol-last": 2, |
46 | | - "no-extra-parens": [2, "functions"], |
47 | | - "eqeqeq": 2, |
48 | | - "new-cap": 2, |
49 | | - "new-parens": 2, |
50 | | - "quotes": [1, "single"], |
51 | | - "semi": 2, |
52 | | - "semi-spacing": [2, {"before": false, "after": true}], |
53 | | - "space-infix-ops": 2, |
54 | | - "space-return-throw-case": 2, |
55 | | - "space-unary-ops": [2, { "words": true, "nonwords": false }], |
56 | | - "strict": [2, "global"], |
57 | | - "yoda": [2, "never"] |
58 | | - } |
| 2 | + "root": true, |
| 3 | + "env": { |
| 4 | + "commonjs": true, |
| 5 | + }, |
| 6 | + "rules": { |
| 7 | + "camelcase": 2, |
| 8 | + "comma-spacing": 1, |
| 9 | + "consistent-return": 2, |
| 10 | + "curly": [ 2, "all" ], |
| 11 | + "dot-notation": [ |
| 12 | + 2, |
| 13 | + { "allowKeywords": true } |
| 14 | + ], |
| 15 | + "eol-last": 2, |
| 16 | + "eqeqeq": 2, |
| 17 | + "keyword-spacing": 2, |
| 18 | + "new-cap": 2, |
| 19 | + "new-parens": 2, |
| 20 | + "no-alert": 2, |
| 21 | + "no-array-constructor": 2, |
| 22 | + "no-caller": 2, |
| 23 | + "no-catch-shadow": 2, |
| 24 | + "no-eval": 2, |
| 25 | + "no-extend-native": 2, |
| 26 | + "no-extra-bind": 2, |
| 27 | + "no-extra-parens": [ 2, "functions" ], |
| 28 | + "no-implied-eval": 2, |
| 29 | + "no-iterator": 2, |
| 30 | + "no-labels": 2, |
| 31 | + "no-label-var": 2, |
| 32 | + "no-lone-blocks": 2, |
| 33 | + "no-loop-func": 2, |
| 34 | + "no-multi-str": 2, |
| 35 | + "no-native-reassign": 2, |
| 36 | + "no-new": 2, |
| 37 | + "no-new-func": 2, |
| 38 | + "no-new-object": 2, |
| 39 | + "no-new-wrappers": 2, |
| 40 | + "no-octal-escape": 2, |
| 41 | + "no-proto": 2, |
| 42 | + "no-return-assign": 2, |
| 43 | + "no-script-url": 2, |
| 44 | + "no-sequences": 2, |
| 45 | + "no-shadow": 2, |
| 46 | + "no-shadow-restricted-names": 2, |
| 47 | + "no-spaced-func": 2, |
| 48 | + "no-trailing-spaces": 1, |
| 49 | + "no-undef-init": 2, |
| 50 | + "no-unused-expressions": 2, |
| 51 | + "no-use-before-define": [ 2, "nofunc" ], |
| 52 | + "no-with": 2, |
| 53 | + "quotes": [ 1, "single" ], |
| 54 | + "semi": 2, |
| 55 | + "semi-spacing": [ |
| 56 | + 2, |
| 57 | + { |
| 58 | + "before": false, |
| 59 | + "after": true |
| 60 | + } |
| 61 | + ], |
| 62 | + "space-infix-ops": 2, |
| 63 | + "space-unary-ops": [ |
| 64 | + 2, |
| 65 | + { |
| 66 | + "words": true, |
| 67 | + "nonwords": false |
| 68 | + } |
| 69 | + ], |
| 70 | + "strict": [ 2, "global" ], |
| 71 | + "yoda": [ 2, "never" ] |
| 72 | + } |
59 | 73 | } |
0 commit comments