|
1 | 1 | { |
2 | | - "extends": [ |
3 | | - "airbnb-base", |
4 | | - "prettier" |
5 | | - ], |
| 2 | + "extends": ["airbnb-base", "prettier"], |
6 | 3 | "parser": "babel-eslint", |
7 | 4 | "rules": { |
8 | 5 | "no-underscore-dangle": 0, |
9 | 6 | "arrow-body-style": 0, |
10 | 7 | "no-unused-expressions": 0, |
11 | 8 | "no-plusplus": 0, |
12 | | - "import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*-test.js", "**/__mocks__/**", "**/__fixtures__/**"]}], |
| 9 | + "import/no-extraneous-dependencies": [ |
| 10 | + "error", |
| 11 | + { |
| 12 | + "devDependencies": [ |
| 13 | + "**/*-test.js", |
| 14 | + "**/__mocks__/**", |
| 15 | + "**/__fixtures__/**", |
| 16 | + "**/demo/**" |
| 17 | + ] |
| 18 | + } |
| 19 | + ], |
13 | 20 | "no-prototype-builtins": 0, |
14 | 21 | "no-restricted-syntax": 0, |
15 | 22 | "no-mixed-operators": 0, |
16 | | - "comma-dangle": ["error", { |
17 | | - "arrays": "always-multiline", |
18 | | - "objects": "always-multiline", |
19 | | - "imports": "always-multiline", |
20 | | - "exports": "always-multiline", |
21 | | - "functions": "ignore" |
22 | | - }], |
23 | | - "prettier/prettier": ["error", { |
24 | | - "printWidth": 100, |
25 | | - "singleQuote": true, |
26 | | - "trailingComma": "es5" |
27 | | - }], |
| 23 | + "comma-dangle": [ |
| 24 | + "error", |
| 25 | + { |
| 26 | + "arrays": "always-multiline", |
| 27 | + "objects": "always-multiline", |
| 28 | + "imports": "always-multiline", |
| 29 | + "exports": "always-multiline", |
| 30 | + "functions": "ignore" |
| 31 | + } |
| 32 | + ], |
| 33 | + "prettier/prettier": [ |
| 34 | + "error", |
| 35 | + { |
| 36 | + "printWidth": 100, |
| 37 | + "singleQuote": true, |
| 38 | + "trailingComma": "es5" |
| 39 | + } |
| 40 | + ], |
28 | 41 | "import/prefer-default-export": 0, |
29 | 42 | "arrow-parens": 0, |
30 | 43 | "prefer-destructuring": 0, |
|
34 | 47 | "jasmine": true, |
35 | 48 | "jest": true |
36 | 49 | }, |
37 | | - "plugins": [ |
38 | | - "flowtype", |
39 | | - "prettier" |
40 | | - ], |
| 50 | + "plugins": ["flowtype", "prettier"], |
41 | 51 | "globals": { |
42 | 52 | "Class": true, |
43 | 53 | "Iterator": true, |
|
0 commit comments