forked from AxaFrance/react-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
executable file
·55 lines (55 loc) · 1.18 KB
/
Copy path.eslintrc
File metadata and controls
executable file
·55 lines (55 loc) · 1.18 KB
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
53
54
55
{
"extends": [
"airbnb",
"prettier",
"prettier/react",
"react-app"
],
"plugins": [
"react",
"prettier",
"react-hooks"
],
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"rules": {
"react/jsx-filename-extension": [
2,
{
"extensions": [
".js",
".jsx"
]
}
],
"linebreak-style": 0,
"import/no-extraneous-dependencies": "warn",
"import/no-unresolved": "off",
"import/named": "warn",
"import/prefer-default-export": "off",
"jsx-a11y/aria-role": 1,
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/label-has-for": 1,
"jsx-a11y/no-autofocus": 1,
"jsx-a11y/no-noninteractive-element-interactions": 1,
"jsx-a11y/anchor-is-valid": 1,
"react/forbid-prop-types": 0,
"react/jsx-closing-bracket-location": 0,
"react/no-multi-comp": 0,
"react/no-unused-prop-types": 1,
"react/prop-types": 0,
"react/no-unescaped-entities": 1,
"react/jsx-closing-tag-location": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error"
},
"settings": {
"react": {
"version": "16.8.6"
}
},
}