|
4 | 4 | "node": true |
5 | 5 | }, |
6 | 6 |
|
7 | | - "rules": { |
| 7 | + "rules": { |
8 | 8 | "accessor-pairs": 2, |
9 | 9 | "array-bracket-spacing": 0, |
10 | 10 | "block-scoped-var": 0, |
|
26 | 26 | "eqeqeq": [2, "allow-null"], |
27 | 27 | "func-names": 0, |
28 | 28 | "func-style": 0, |
29 | | - "generator-star": 0, |
30 | 29 | "generator-star-spacing": [2, { "before": true, "after": true }], |
31 | | - "global-strict": 0, |
32 | 30 | "guard-for-in": 0, |
33 | 31 | "handle-callback-err": [2, "^(err|error)$" ], |
34 | | - "indent": [2, 2], |
| 32 | + "indent": [2, 2, { "SwitchCase": 1 }], |
35 | 33 | "key-spacing": [2, { "beforeColon": false, "afterColon": true }], |
36 | 34 | "linebreak-style": 0, |
37 | 35 | "lines-around-comment": 0, |
38 | | - "max-depth": 0, |
39 | | - "max-len": 0, |
40 | 36 | "max-nested-callbacks": 0, |
41 | | - "max-params": 0, |
42 | | - "max-statements": 0, |
43 | 37 | "new-cap": [2, { "newIsCap": true, "capIsNew": false }], |
44 | 38 | "new-parens": 2, |
45 | 39 | "newline-after-var": 0, |
46 | 40 | "no-alert": 0, |
47 | 41 | "no-array-constructor": 2, |
48 | | - "no-bitwise": 0, |
49 | 42 | "no-caller": 2, |
50 | 43 | "no-catch-shadow": 0, |
51 | | - "no-comma-dangle": 0, |
52 | 44 | "no-cond-assign": 2, |
53 | 45 | "no-console": 0, |
54 | 46 | "no-constant-condition": 0, |
|
63 | 55 | "no-else-return": 0, |
64 | 56 | "no-empty": 0, |
65 | 57 | "no-empty-character-class": 2, |
66 | | - "no-empty-class": 0, |
67 | 58 | "no-empty-label": 2, |
68 | 59 | "no-eq-null": 0, |
69 | 60 | "no-eval": 2, |
|
73 | 64 | "no-extra-boolean-cast": 2, |
74 | 65 | "no-extra-parens": 0, |
75 | 66 | "no-extra-semi": 0, |
76 | | - "no-extra-strict": 0, |
77 | 67 | "no-fallthrough": 2, |
78 | 68 | "no-floating-decimal": 2, |
79 | 69 | "no-func-assign": 2, |
|
106 | 96 | "no-octal-escape": 2, |
107 | 97 | "no-param-reassign": 0, |
108 | 98 | "no-path-concat": 0, |
109 | | - "no-plusplus": 0, |
110 | 99 | "no-process-env": 0, |
111 | 100 | "no-process-exit": 0, |
112 | 101 | "no-proto": 0, |
113 | 102 | "no-redeclare": 2, |
114 | 103 | "no-regex-spaces": 2, |
115 | | - "no-reserved-keys": 0, |
116 | 104 | "no-restricted-modules": 0, |
117 | 105 | "no-return-assign": 2, |
118 | 106 | "no-script-url": 0, |
119 | 107 | "no-self-compare": 2, |
120 | 108 | "no-sequences": 2, |
121 | 109 | "no-shadow": 0, |
122 | 110 | "no-shadow-restricted-names": 2, |
123 | | - "no-space-before-semi": 0, |
124 | 111 | "no-spaced-func": 2, |
125 | 112 | "no-sparse-arrays": 2, |
126 | 113 | "no-sync": 0, |
|
155 | 142 | "semi": [2, "never"], |
156 | 143 | "semi-spacing": 0, |
157 | 144 | "sort-vars": 0, |
158 | | - "space-after-function-name": 0, |
159 | 145 | "space-after-keywords": [2, "always"], |
160 | 146 | "space-before-blocks": [2, "always"], |
161 | 147 | "space-before-function-paren": [2, "always"], |
162 | | - "space-before-function-parentheses": 0, |
163 | | - "space-in-brackets": 0, |
164 | 148 | "space-in-parens": [2, "never"], |
165 | 149 | "space-infix-ops": 2, |
166 | 150 | "space-return-throw-case": 2, |
167 | 151 | "space-unary-ops": [2, { "words": true, "nonwords": false }], |
168 | 152 | "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }], |
169 | | - "spaced-line-comment": 0, |
170 | 153 | "strict": 0, |
171 | 154 | "use-isnan": 2, |
172 | 155 | "valid-jsdoc": 0, |
|
0 commit comments