-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
52 lines (52 loc) · 1.47 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": "airbnb",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"rules": {
"react/destructuring-assignment": "off",
"react/sort-comp": "off",
"space-before-function-paren": "off",
"prefer-destructuring": "off",
"react/prefer-stateless-function": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"linebreak-style": "off",
"global-require": "off",
"semi": "warn",
"arrow-body-style": "off",
"react/jsx-no-undef": 1,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/no-mutable-exports": 0,
"import/no-cycle": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-for": 0,
"no-param-reassign": "off",
"react/forbid-prop-types": "off",
"react/no-access-state-in-setstate": "off",
"import/prefer-default-export": "off",
"react/jsx-props-no-spreading": "off",
"no-restricted-syntax": [
"error",
"LabeledStatement",
"WithStatement"
],
"no-continue": "off",
"no-nested-ternary": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"no-underscore-dangle": "off",
"react/prop-types": "off"
}
}