-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc
42 lines (42 loc) · 852 Bytes
/
.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
{
"globals": {
"mockStore": true
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/flowtype", "prettier/react", "prettier/standard"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true,
"impliedStrict": true,
"jsx": true,
"modules": true
}
},
"plugins": ["react", "prettier", "react-hooks"],
"rules": {
"react/jsx-filename-extension": 0,
"jsx-a11y/label-has-for": [
2,
{
"required": {
"some": ["nesting", "id"]
}
}
],
"jsx-a11y/label-has-associated-control": [
2,
{
"required": {
"some": ["nesting", "id"]
}
}
]
}
}