-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
39 lines (39 loc) · 821 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
{
"extends": [
"react-app",
"plugin:prettier/recommended"
],
"plugins": [
"react-hooks"
],
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"no-console": "warn",
"default-case": "error",
"no-alert": "warn",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-imports": "error",
"no-unused-expressions": "error",
"no-empty": "error",
"no-unreachable": "error",
"no-unused-vars": "warn",
"no-var": "error",
"prefer-const": "error",
"no-debugger": "warn",
"no-use-before-define": "error",
"no-await-in-loop": "error",
"no-param-reassign": [
"error",
{
"props": false
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}