|
7 | 7 | "rules": {
|
8 | 8 | "block-scoped-var": 2,
|
9 | 9 | "camelcase": 0,
|
10 |
| - "curly": [ |
11 |
| - 2, |
12 |
| - "all" |
13 |
| - ], |
14 |
| - "dot-notation": [ |
15 |
| - 1, |
16 |
| - { |
17 |
| - "allowKeywords": true |
18 |
| - } |
19 |
| - ], |
20 |
| - "eqeqeq": [ |
21 |
| - 2, |
22 |
| - "allow-null" |
23 |
| - ], |
24 |
| - "global-strict": [ |
25 |
| - 0, |
26 |
| - "never" |
27 |
| - ], |
| 10 | + "consistent-return": 2, |
| 11 | + "curly": [2, "all"], |
| 12 | + "dot-notation": [1, { "allowKeywords": true }], |
| 13 | + "eqeqeq": [2, "allow-null"], |
| 14 | + "global-strict": [0, "never"], |
28 | 15 | "guard-for-in": 2,
|
29 |
| - "key-spacing": [ |
30 |
| - 0 |
31 |
| - ], |
| 16 | + "indent": [2, 2, {"SwitchCase": 2, "VariableDeclarator": 2}], |
| 17 | + "key-spacing": 0, |
32 | 18 | "new-cap": 0,
|
| 19 | + "no-alert": 2, |
33 | 20 | "no-bitwise": 2,
|
34 | 21 | "no-caller": 2,
|
35 |
| - "no-cond-assign": [ |
36 |
| - 2, |
37 |
| - "except-parens" |
38 |
| - ], |
| 22 | + "no-cond-assign": [2, "except-parens"], |
39 | 23 | "no-debugger": 2,
|
| 24 | + "no-dupe-args": 2, |
| 25 | + "no-dupe-keys": 2, |
40 | 26 | "no-empty": 2,
|
41 | 27 | "no-eval": 2,
|
42 | 28 | "no-extend-native": 2,
|
| 29 | + "no-extra-bind": 2, |
43 | 30 | "no-extra-parens": 0,
|
| 31 | + "no-extra-semi": 2, |
| 32 | + "no-func-assign": 2, |
| 33 | + "no-implied-eval": 2, |
| 34 | + "no-invalid-regexp": 2, |
44 | 35 | "no-irregular-whitespace": 1,
|
45 | 36 | "no-iterator": 2,
|
46 | 37 | "no-loop-func": 2,
|
47 | 38 | "no-mixed-requires": 0,
|
48 | 39 | "no-multi-str": 2,
|
49 |
| - "no-multi-spaces": 0, |
| 40 | + "no-multi-spaces": 1, |
| 41 | + "no-native-reassign": 2, |
50 | 42 | "no-new": 2,
|
| 43 | + "no-param-reassign": 2, |
51 | 44 | "no-proto": 2,
|
| 45 | + "no-redeclare": 2, |
52 | 46 | "no-script-url": 2,
|
| 47 | + "no-self-assign": 2, |
| 48 | + "no-self-compare": 2, |
53 | 49 | "no-sequences": 2,
|
54 | 50 | "no-shadow": 2,
|
55 | 51 | "no-undef": 2,
|
56 | 52 | "no-underscore-dangle": 1,
|
57 |
| - "no-unused-vars": 2, |
| 53 | + "no-unreachable": 1, |
| 54 | + "no-unused-vars": 1, |
| 55 | + "no-use-before-define": 1, |
| 56 | + "no-useless-call": 2, |
| 57 | + "no-useless-concat": 2, |
58 | 58 | "no-with": 2,
|
59 |
| - "quotes": [ |
60 |
| - 0, |
61 |
| - "single" |
62 |
| - ], |
63 |
| - "semi": [ |
64 |
| - 0, |
65 |
| - "never" |
66 |
| - ], |
| 59 | + "quotes": [0, "single"], |
| 60 | + "radix": 2, |
| 61 | + "semi": [0, "never"], |
67 | 62 | "strict": 0,
|
| 63 | + "space-before-blocks": 1, |
| 64 | + "space-before-function-paren": [1, { |
| 65 | + "anonymous": "always", |
| 66 | + "named": "never" |
| 67 | + }], |
| 68 | + "space-infix-ops": 1, |
68 | 69 | "valid-typeof": 2,
|
69 |
| - "wrap-iife": [ |
70 |
| - 2, |
71 |
| - "inside" |
72 |
| - ] |
| 70 | + "vars-on-top": 0, |
| 71 | + "wrap-iife": [2, "inside"] |
73 | 72 | }
|
74 | 73 | }
|
0 commit comments