|
1 | 1 | {
|
2 | 2 | "parser": "babel-eslint",
|
3 |
| - "extends": "airbnb", |
| 3 | + "extends": ["airbnb", "plugin:react/recommended"], |
4 | 4 | "env": {
|
5 | 5 | "browser": true,
|
6 | 6 | "node": true,
|
|
20 | 20 | }
|
21 | 21 | },
|
22 | 22 | "rules": {
|
23 |
| - "function-paren-newline": "off", |
24 | 23 | "no-param-reassign": "off",
|
| 24 | + "function-paren-newline": "off", |
25 | 25 | "arrow-parens": [
|
26 | 26 | "error",
|
27 | 27 | "always"
|
|
30 | 30 | 2,
|
31 | 31 | "as-needed"
|
32 | 32 | ],
|
33 |
| - "class-methods-use-this": 0, |
34 | 33 | "comma-dangle": [
|
35 | 34 | "error",
|
36 | 35 | "only-multiline"
|
37 | 36 | ],
|
38 |
| - "import/imports-first": 0, |
39 |
| - "import/newline-after-import": 0, |
40 |
| - "import/no-dynamic-require": 0, |
41 | 37 | "import/no-extraneous-dependencies": 0,
|
42 |
| - "import/no-named-as-default": 0, |
43 |
| - "import/no-unresolved": 2, |
44 |
| - "import/no-webpack-loader-syntax": 0, |
45 | 38 | "import/prefer-default-export": 0,
|
46 | 39 | "indent": [
|
47 | 40 | 2,
|
|
50 | 43 | "SwitchCase": 1
|
51 | 44 | }
|
52 | 45 | ],
|
53 |
| - "jsx-a11y/aria-props": 2, |
54 |
| - "jsx-a11y/heading-has-content": 0, |
55 |
| - "jsx-a11y/href-no-hash": "off", |
56 |
| - "jsx-a11y/anchor-is-valid": "off", |
57 |
| - "jsx-a11y/label-has-for": 2, |
58 |
| - "jsx-a11y/mouse-events-have-key-events": 2, |
59 |
| - "jsx-a11y/role-has-required-aria-props": 2, |
60 |
| - "jsx-a11y/role-supports-aria-props": 2, |
61 | 46 | "max-len": 0,
|
62 |
| - "newline-per-chained-call": 0, |
63 |
| - "no-confusing-arrow": 0, |
64 | 47 | "no-console": 1,
|
65 |
| - "no-use-before-define": 0, |
66 |
| - "prefer-template": 2, |
67 | 48 | "react/forbid-prop-types": 0,
|
68 | 49 | "react/jsx-curly-brace-presence": "off",
|
69 | 50 | "react/jsx-first-prop-new-line": [
|
70 | 51 | 2,
|
71 | 52 | "multiline"
|
72 | 53 | ],
|
73 | 54 | "react/jsx-filename-extension": 0,
|
74 |
| - "react/jsx-no-target-blank": 0, |
75 | 55 | "react/require-default-props": 0,
|
76 |
| - "react/require-extension": 0, |
77 | 56 | "react/self-closing-comp": 0,
|
78 | 57 | "redux-saga/no-yield-in-race": 2,
|
79 | 58 | "redux-saga/yield-effects": 2,
|
80 |
| - "require-yield": 0 |
| 59 | + "jsx-a11y/anchor-is-valid": 0 |
81 | 60 | },
|
82 | 61 | "settings": {
|
83 | 62 | "import/resolver": {
|
|
0 commit comments