-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.11 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb",
"airbnb/hooks"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"ignorePatterns": ["**/src/tests/*"],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"jsx-a11y/no-static-element-interactions": [
"error",
{
"handlers": [
"onMouseDown",
"onMouseUp",
"onKeyPress",
"onKeyDown",
"onKeyUp"
],
"allowExpressionValues": true
}
],
"jsx-a11y/click-events-have-key-events": 0,
"react/prop-types": 0, // temporary disabled because too many warnings
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/control-has-associated-label": 0
}
}