|
1 | 1 | {
|
2 |
| - "env": { |
3 |
| - "node": true, |
4 |
| - "es6": true |
5 |
| - }, |
6 |
| - "parserOptions": { |
7 |
| - "ecmaVersion": 6, |
8 |
| - "sourceType": "module" |
9 |
| - }, |
10 |
| - "extends": [ |
11 |
| - "eslint:recommended" |
12 |
| - ], |
13 |
| - "rules": { |
14 |
| - "dot-notation": "error", |
15 |
| - "eqeqeq": ["error", "smart"], |
16 |
| - "indent": ["off", 4], |
17 |
| - "keyword-spacing": "error", |
18 |
| - "linebreak-style": ["error", "unix"], |
19 |
| - "no-caller": "error", |
20 |
| - "no-catch-shadow": "error", |
21 |
| - "no-console": "warn", |
22 |
| - "no-div-regex": "error", |
23 |
| - "no-extend-native": "error", |
24 |
| - "no-extra-bind": "error", |
25 |
| - "no-floating-decimal": "error", |
26 |
| - "no-implied-eval": "error", |
27 |
| - "no-invalid-this": "error", |
28 |
| - "no-iterator": "error", |
29 |
| - "no-labels": "error", |
30 |
| - "no-label-var": "error", |
31 |
| - "no-lone-blocks": "error", |
32 |
| - "no-loop-func": "error", |
33 |
| - "no-multi-str": "error", |
34 |
| - "no-native-reassign": "error", |
35 |
| - "no-new": "error", |
36 |
| - "no-new-func": "error", |
37 |
| - "no-new-wrappers": "error", |
38 |
| - "no-octal": "error", |
39 |
| - "no-octal-escape": "error", |
40 |
| - "no-process-env": "error", |
41 |
| - "no-proto": "error", |
42 |
| - "no-prototype-builtins": "off", |
43 |
| - "no-return-assign": "off", |
44 |
| - "no-script-url": "error", |
45 |
| - "no-self-compare": "error", |
46 |
| - "no-sequences": "error", |
47 |
| - "no-shadow": "off", |
48 |
| - "no-shadow-restricted-names": "error", |
49 |
| - "no-throw-literal": "error", |
50 |
| - "no-unneeded-ternary": "error", |
51 |
| - "no-unused-expressions": "error", |
52 |
| - "no-unexpected-multiline": "error", |
53 |
| - "no-unused-vars": "warn", |
54 |
| - "no-void": "error", |
55 |
| - "no-warning-comments": "warn", |
56 |
| - "no-with": "error", |
57 |
| - "no-use-before-define": ["off", "nofunc"], |
58 |
| - "semi": ["error", "always"], |
59 |
| - "semi-spacing": "error", |
60 |
| - "space-unary-ops": "error", |
61 |
| - "wrap-regex": "off", |
62 |
| - "quotes": ["error", "single"] |
63 |
| - } |
| 2 | + "env": { |
| 3 | + "node": true, |
| 4 | + "es6": true |
| 5 | + }, |
| 6 | + "parserOptions": { |
| 7 | + "ecmaVersion": 6, |
| 8 | + "sourceType": "module" |
| 9 | + }, |
| 10 | + "extends": [ |
| 11 | + "eslint:recommended" |
| 12 | + ], |
| 13 | + "rules": { |
| 14 | + "dot-notation": "error", |
| 15 | + "eqeqeq": ["error", "smart"], |
| 16 | + "keyword-spacing": "error", |
| 17 | + "linebreak-style": ["error", "unix"], |
| 18 | + "no-caller": "error", |
| 19 | + "no-catch-shadow": "error", |
| 20 | + "no-console": "warn", |
| 21 | + "no-div-regex": "error", |
| 22 | + "no-extend-native": "error", |
| 23 | + "no-extra-bind": "error", |
| 24 | + "no-floating-decimal": "error", |
| 25 | + "no-implied-eval": "error", |
| 26 | + "no-invalid-this": "error", |
| 27 | + "no-iterator": "error", |
| 28 | + "no-labels": "error", |
| 29 | + "no-label-var": "error", |
| 30 | + "no-lone-blocks": "error", |
| 31 | + "no-loop-func": "error", |
| 32 | + "no-multi-str": "error", |
| 33 | + "no-native-reassign": "error", |
| 34 | + "no-new": "error", |
| 35 | + "no-new-func": "error", |
| 36 | + "no-new-wrappers": "error", |
| 37 | + "no-octal": "error", |
| 38 | + "no-octal-escape": "error", |
| 39 | + "no-process-env": "error", |
| 40 | + "no-proto": "error", |
| 41 | + "no-prototype-builtins": "off", |
| 42 | + "no-return-assign": "off", |
| 43 | + "no-script-url": "error", |
| 44 | + "no-self-compare": "error", |
| 45 | + "no-sequences": "error", |
| 46 | + "no-shadow": "off", |
| 47 | + "no-shadow-restricted-names": "error", |
| 48 | + "no-throw-literal": "error", |
| 49 | + "no-unneeded-ternary": "error", |
| 50 | + "no-unused-expressions": "error", |
| 51 | + "no-unexpected-multiline": "error", |
| 52 | + "no-unused-vars": "warn", |
| 53 | + "no-void": "error", |
| 54 | + "no-warning-comments": "warn", |
| 55 | + "no-with": "error", |
| 56 | + "no-use-before-define": ["off", "nofunc"], |
| 57 | + "semi": ["error", "always"], |
| 58 | + "semi-spacing": "error", |
| 59 | + "space-unary-ops": "error", |
| 60 | + "wrap-regex": "off" |
| 61 | + } |
64 | 62 | }
|
0 commit comments