|
1 | 1 | {
|
2 | 2 | "parser": "babel-eslint",
|
3 |
| - "extends": "airbnb", |
| 3 | + "plugins": [ |
| 4 | + "prettier" |
| 5 | + ], |
| 6 | + "extends": [ |
| 7 | + "airbnb", |
| 8 | + "prettier" |
| 9 | + ], |
4 | 10 | "env": {
|
5 | 11 | "browser": true,
|
6 | 12 | "jest": true
|
7 | 13 | },
|
8 | 14 | "rules": {
|
9 |
| - "jsx-a11y/href-no-hash": [0], |
10 |
| - "jsx-a11y/click-events-have-key-events": [0], |
11 |
| - "jsx-a11y/anchor-is-valid": [ "error", { |
12 |
| - "components": [ "Link" ], |
13 |
| - "specialLink": [ "to" ] |
14 |
| - }], |
15 |
| - "generator-star-spacing": [0], |
16 |
| - "consistent-return": [0], |
17 |
| - "react/react-in-jsx-scope": [0], |
18 |
| - "react/forbid-prop-types": [0], |
19 |
| - "react/jsx-filename-extension": [1, { "extensions": [".js"] }], |
20 |
| - "global-require": [1], |
21 |
| - "import/prefer-default-export": [0], |
22 |
| - "react/jsx-no-bind": [0], |
23 |
| - "react/prop-types": [0], |
24 |
| - "react/prefer-stateless-function": [0], |
25 |
| - "no-else-return": [0], |
26 |
| - "no-restricted-syntax": [0], |
27 |
| - "import/no-extraneous-dependencies": [0], |
28 |
| - "no-use-before-define": [0], |
29 |
| - "jsx-a11y/no-static-element-interactions": [0], |
30 |
| - "no-nested-ternary": [0], |
31 |
| - "arrow-body-style": [0], |
32 |
| - "import/extensions": [0], |
33 |
| - "no-bitwise": [0], |
34 |
| - "no-cond-assign": [0], |
35 |
| - "import/no-unresolved": [0], |
36 |
| - "require-yield": [1], |
37 |
| - "no-param-reassign": [0], |
38 |
| - "no-shadow": [0], |
39 |
| - "no-underscore-dangle": [0], |
40 |
| - "spaced-comment": [0], |
41 |
| - "indent": [0], |
42 |
| - "quotes": [0], |
43 |
| - "func-names": [0], |
44 |
| - "arrow-parens": [0], |
45 |
| - "space-before-function-paren": [0], |
46 |
| - "no-useless-escape": [0], |
47 |
| - "object-curly-newline": [0], |
48 |
| - "function-paren-newline": [0], |
49 |
| - "class-methods-use-this": [0], |
50 |
| - "no-new": [0], |
51 |
| - "import/newline-after-import": [0], |
52 |
| - "no-console": [0] |
| 15 | + "prettier/prettier": "error", |
| 16 | + "jsx-a11y/href-no-hash": [ |
| 17 | + 0 |
| 18 | + ], |
| 19 | + "jsx-a11y/click-events-have-key-events": [ |
| 20 | + 0 |
| 21 | + ], |
| 22 | + "jsx-a11y/anchor-is-valid": [ |
| 23 | + "error", |
| 24 | + { |
| 25 | + "components": [ |
| 26 | + "Link" |
| 27 | + ], |
| 28 | + "specialLink": [ |
| 29 | + "to" |
| 30 | + ] |
| 31 | + } |
| 32 | + ], |
| 33 | + "generator-star-spacing": [ |
| 34 | + 0 |
| 35 | + ], |
| 36 | + "consistent-return": [ |
| 37 | + 0 |
| 38 | + ], |
| 39 | + "radix": [ |
| 40 | + 1 |
| 41 | + ], |
| 42 | + "react/react-in-jsx-scope": [ |
| 43 | + 0 |
| 44 | + ], |
| 45 | + "react/forbid-prop-types": [ |
| 46 | + 0 |
| 47 | + ], |
| 48 | + "react/jsx-filename-extension": [ |
| 49 | + 1, |
| 50 | + { |
| 51 | + "extensions": [ |
| 52 | + ".js" |
| 53 | + ] |
| 54 | + } |
| 55 | + ], |
| 56 | + "global-require": [ |
| 57 | + 0 |
| 58 | + ], |
| 59 | + "import/prefer-default-export": [ |
| 60 | + 0 |
| 61 | + ], |
| 62 | + "react/jsx-no-bind": [ |
| 63 | + 0 |
| 64 | + ], |
| 65 | + "react/prop-types": [ |
| 66 | + 0 |
| 67 | + ], |
| 68 | + "react/prefer-stateless-function": [ |
| 69 | + 0 |
| 70 | + ], |
| 71 | + "react/jsx-one-expression-per-line": [ |
| 72 | + 0 |
| 73 | + ], |
| 74 | + "react/button-has-type": [ |
| 75 | + 0 |
| 76 | + ], |
| 77 | + "no-else-return": [ |
| 78 | + 0 |
| 79 | + ], |
| 80 | + "no-restricted-syntax": [ |
| 81 | + 0 |
| 82 | + ], |
| 83 | + "import/no-extraneous-dependencies": [ |
| 84 | + 0 |
| 85 | + ], |
| 86 | + "no-use-before-define": [ |
| 87 | + 0 |
| 88 | + ], |
| 89 | + "jsx-a11y/no-static-element-interactions": [ |
| 90 | + 0 |
| 91 | + ], |
| 92 | + "no-nested-ternary": [ |
| 93 | + 0 |
| 94 | + ], |
| 95 | + "arrow-body-style": [ |
| 96 | + 0 |
| 97 | + ], |
| 98 | + "import/extensions": [ |
| 99 | + 0 |
| 100 | + ], |
| 101 | + "no-bitwise": [ |
| 102 | + 0 |
| 103 | + ], |
| 104 | + "no-cond-assign": [ |
| 105 | + 0 |
| 106 | + ], |
| 107 | + "import/no-unresolved": [ |
| 108 | + 0 |
| 109 | + ], |
| 110 | + "require-yield": [ |
| 111 | + 1 |
| 112 | + ], |
| 113 | + "no-param-reassign": [ |
| 114 | + 0 |
| 115 | + ], |
| 116 | + "no-shadow": [ |
| 117 | + 0 |
| 118 | + ], |
| 119 | + "no-underscore-dangle": [ |
| 120 | + 0 |
| 121 | + ], |
| 122 | + "spaced-comment": [ |
| 123 | + 0 |
| 124 | + ], |
| 125 | + "indent": [ |
| 126 | + 0 |
| 127 | + ], |
| 128 | + "quotes": [ |
| 129 | + 0 |
| 130 | + ], |
| 131 | + "func-names": [ |
| 132 | + 0 |
| 133 | + ], |
| 134 | + "arrow-parens": [ |
| 135 | + 0 |
| 136 | + ], |
| 137 | + "space-before-function-paren": [ |
| 138 | + 0 |
| 139 | + ], |
| 140 | + "no-useless-escape": [ |
| 141 | + 0 |
| 142 | + ], |
| 143 | + "object-curly-newline": [ |
| 144 | + 0 |
| 145 | + ], |
| 146 | + "function-paren-newline": [ |
| 147 | + 0 |
| 148 | + ], |
| 149 | + "class-methods-use-this": [ |
| 150 | + 0 |
| 151 | + ], |
| 152 | + "no-new": [ |
| 153 | + 0 |
| 154 | + ], |
| 155 | + "import/newline-after-import": [ |
| 156 | + 0 |
| 157 | + ], |
| 158 | + "no-console": [ |
| 159 | + 0 |
| 160 | + ] |
53 | 161 | },
|
54 | 162 | "parserOptions": {
|
55 | 163 | "ecmaFeatures": {
|
|
0 commit comments