|
1 | 1 | {
|
2 |
| - env: { |
| 2 | + "parser": "babel-eslint", |
| 3 | + "env": { |
3 | 4 | browser: true,
|
4 |
| - es6: true, |
5 | 5 | node: true,
|
| 6 | + es6: true, |
6 | 7 | jest: true,
|
7 |
| - jasmine: true, |
| 8 | + jasmine: true |
8 | 9 | },
|
9 |
| - "parserOptions": { |
10 |
| - "ecmaVersion": 6, |
11 |
| - "sourceType": "module", |
12 |
| - "ecmaFeatures": { |
13 |
| - "jsx": true |
14 |
| - } |
15 |
| - }, |
16 |
| - "parser": "babel-eslint", |
| 10 | + "extends": [ |
| 11 | + "dabapps/react", |
| 12 | + "dabapps/es6", |
| 13 | + "dabapps/browser" |
| 14 | + ], |
17 | 15 | "plugins": [
|
18 |
| - "react" |
| 16 | + "import", |
19 | 17 | ],
|
20 | 18 | "rules": {
|
21 |
| - "strict": [2, "global"], |
22 |
| - "indent": [2, 2, {"SwitchCase": 1}], |
23 |
| - "quotes": [2, "single"], |
24 |
| - "linebreak-style": [2, "unix"], |
25 |
| - "semi": [2, "always"], |
26 |
| - "comma-style": [2, "last"], |
27 |
| - "comma-spacing": [2, {"before": false, "after": true}], |
28 |
| - "no-multiple-empty-lines": [2, {"max": 2}], |
29 |
| - "max-len": [2, 120, 2, {"ignoreComments": true}], |
30 |
| - "no-trailing-spaces": [2, {"skipBlankLines": false}], |
31 |
| - "dot-location": [2, "property"], |
32 |
| - "keyword-spacing": 2, |
33 |
| - "space-before-blocks": 2, |
34 |
| - "space-before-function-paren": 0, |
35 |
| - "space-infix-ops": 2, |
36 |
| - "space-unary-ops": 2, |
37 |
| - "no-lone-blocks": 2, |
38 |
| - "eqeqeq": 2, |
39 |
| - "block-scoped-var": 2, |
40 |
| - "no-constant-condition": 2, |
41 |
| - "no-nested-ternary": 2, |
42 |
| - "no-mixed-spaces-and-tabs": 2, |
43 |
| - "no-undef": 2, |
44 |
| - "no-unreachable": 2, |
45 |
| - "no-dupe-keys": 2, |
46 |
| - "no-extra-boolean-cast": 2, |
47 |
| - "no-irregular-whitespace": 2, |
48 |
| - "no-multi-spaces": 2, |
49 |
| - "no-else-return": 0, |
50 |
| - "no-eval": 2, |
51 |
| - "no-multi-str": 2, |
52 |
| - "no-self-compare": 2, |
53 |
| - "no-useless-call": 2, |
54 |
| - "no-shadow-restricted-names": 2, |
55 |
| - "no-shadow": 2, |
56 |
| - "no-undef-init": 2, |
57 |
| - "no-use-before-define": 2, |
58 |
| - "radix": 2, |
59 |
| - "curly": 2, |
60 |
| - "no-fallthrough": 0, |
61 |
| - "default-case": 0, |
62 |
| - "no-plusplus": 0, |
63 |
| - "dot-notation": 0, |
64 |
| - "jsx-quotes": [2, "prefer-double"], |
65 |
| - "eol-last": 2, |
66 |
| - "no-unused-vars": [2, {"vars": "all", "args": "none"}], |
67 |
| - |
68 |
| - "react/jsx-uses-vars": 2, |
| 19 | + import/no-unresolved: 2, |
| 20 | + "react/jsx-indent-props": 0, |
69 | 21 | }
|
70 | 22 | }
|
0 commit comments