-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
30 lines (30 loc) · 701 Bytes
/
.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
{
"plugins": [
"react-hooks"
],
"extends": [
"airbnb"
],
"env": {
"browser": true
},
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"react/prop-types": "off",
"no-param-reassign": "off",
"no-console": "off",
"no-await-in-loop": "off",
"react/function-component-definition": ["error", { "namedComponents": "arrow-function" }]
},
"overrides": [{
"files": ["__tests__/**/*"],
"env": {
"jest": true
},
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
}
}]
}