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