|
5 | 5 |
|
6 | 6 | "parser": "babel-eslint", |
7 | 7 |
|
| 8 | + "plugins": ["prettier"], |
| 9 | + |
8 | 10 | "env": { |
9 | 11 | "es6": true, |
10 | 12 | "node": true, |
11 | 13 | "jest": true |
12 | 14 | }, |
13 | 15 |
|
14 | 16 | "rules": { |
15 | | - "array-bracket-spacing": [2, "always"], |
16 | | - "arrow-parens": [2, "as-needed"], |
17 | | - "arrow-spacing": 2, |
18 | 17 | "block-scoped-var": 0, |
19 | | - "brace-style": [2, "1tbs", {"allowSingleLine": true}], |
20 | 18 | "callback-return": 2, |
21 | 19 | "camelcase": [2, {"properties": "always"}], |
22 | 20 | "comma-dangle": 0, |
23 | 21 | "comma-spacing": 0, |
24 | | - "comma-style": [2, "last"], |
25 | 22 | "complexity": 0, |
26 | 23 | "computed-property-spacing": [2, "never"], |
27 | 24 | "consistent-return": 0, |
28 | 25 | "consistent-this": 0, |
29 | | - "curly": [2, "all"], |
30 | 26 | "default-case": 0, |
31 | 27 | "dot-location": [2, "property"], |
32 | 28 | "dot-notation": 0, |
|
39 | 35 | "handle-callback-err": [2, "error"], |
40 | 36 | "id-length": 0, |
41 | 37 | "id-match": [2, "^(?:_?[a-zA-Z0-9]*)|[_A-Z0-9]+$"], |
42 | | - "indent": [2, 2, {"SwitchCase": 1}], |
43 | 38 | "init-declarations": 0, |
44 | 39 | "key-spacing": [2, {"beforeColon": false, "afterColon": true}], |
45 | 40 | "keyword-spacing": 2, |
46 | 41 | "linebreak-style": 2, |
47 | 42 | "lines-around-comment": 0, |
48 | 43 | "max-depth": 0, |
49 | | - "max-len": [2, 80, 4], |
50 | 44 | "max-nested-callbacks": 0, |
51 | 45 | "max-params": 0, |
52 | 46 | "max-statements": 0, |
|
155 | 149 | "object-shorthand": [2, "always"], |
156 | 150 | "one-var": [2, "never"], |
157 | 151 | "operator-assignment": [2, "always"], |
158 | | - "operator-linebreak": [2, "after"], |
159 | | - "padded-blocks": 0, |
160 | 152 | "prefer-const": 0, |
161 | 153 | "prefer-reflect": 0, |
162 | 154 | "prefer-spread": 0, |
163 | 155 | "quote-props": [2, "as-needed"], |
164 | | - "quotes": [2, "single"], |
165 | 156 | "radix": 2, |
166 | 157 | "require-yield": 2, |
167 | | - "semi": [2, "always"], |
168 | 158 | "semi-spacing": [2, {"before": false, "after": true}], |
169 | 159 | "sort-vars": 0, |
170 | 160 | "space-before-blocks": [2, "always"], |
|
180 | 170 | "vars-on-top": 0, |
181 | 171 | "wrap-iife": 2, |
182 | 172 | "wrap-regex": 0, |
183 | | - "yoda": [2, "never", {"exceptRange": true}] |
| 173 | + "yoda": [2, "never", {"exceptRange": true}], |
| 174 | + |
| 175 | + "prettier/prettier": 2 |
184 | 176 | } |
185 | 177 | } |
0 commit comments