aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc30
1 files changed, 18 insertions, 12 deletions
diff --git a/.eslintrc b/.eslintrc
index 9983d6970..dc397ccd1 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -3,19 +3,29 @@
3 "extends": "eslint-config-airbnb", 3 "extends": "eslint-config-airbnb",
4 "plugins": ["jest"], 4 "plugins": ["jest"],
5 "rules": { 5 "rules": {
6 "arrow-parens": 0,
6 "consistent-return": 0, 7 "consistent-return": 0,
7 "no-param-reassign": 0, 8 "no-param-reassign": 0,
8 "import/extensions": 0, 9 "import/extensions": 0,
9 "import/no-extraneous-dependencies": 0, 10 "import/no-extraneous-dependencies": 0,
10 "import/no-unresolved": [2, { 11 "import/no-unresolved": [
11 "ignore": ["electron"] 12 2,
12 }], 13 {
14 "ignore": ["electron"]
15 }
16 ],
13 "import/prefer-default-export": 0, 17 "import/prefer-default-export": 0,
14 "linebreak-style": 0, 18 "linebreak-style": 0,
19 "react/static-property-placement": 0,
20 "react/state-in-constructor": 0,
21 "react/jsx-props-no-spreading": 0,
15 "react/prefer-stateless-function": 0, 22 "react/prefer-stateless-function": 0,
16 "react/jsx-filename-extension": [1, { 23 "react/jsx-filename-extension": [
17 "extensions": [".js", ".jsx"] 24 1,
18 }], 25 {
26 "extensions": [".js", ".jsx"]
27 }
28 ],
19 "react/forbid-prop-types": 0, 29 "react/forbid-prop-types": 0,
20 "react/destructuring-assignment": 0, 30 "react/destructuring-assignment": 0,
21 "prefer-destructuring": 1, 31 "prefer-destructuring": 1,
@@ -32,13 +42,9 @@
32 "jsx-a11y/label-has-for": [ 42 "jsx-a11y/label-has-for": [
33 2, 43 2,
34 { 44 {
35 "components": [ 45 "components": ["Label"],
36 "Label"
37 ],
38 "required": { 46 "required": {
39 "every": [ 47 "every": ["id"]
40 "id"
41 ]
42 }, 48 },
43 "allowChildren": false 49 "allowChildren": false
44 } 50 }