-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
51 lines (51 loc) · 1.23 KB
/
.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
43
44
45
46
47
48
49
50
51
{
"parser": "babel-eslint",
"extends": [
"react-app"
],
"env": {
"es6": true,
"node": true
},
"settings": {
"react": {
"version": "16.8.2"
}
},
"plugins": [
"react",
"react-hooks"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalDecorators": true
}
},
"rules": {
"no-unused-vars": "warn",
"indent": ["warn", 2, {"SwitchCase": 1}],
"semi": ["warn", "always"],
"object-curly-spacing": ["warn", "never"],
"space-before-function-paren": 0,
"react/prop-types": 0,
"react/jsx-boolean-value": 0,
"react/jsx-uses-vars": "warn",
"react/no-did-update-set-state": 0,
"array-callback-return": 0,
"radix": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-restricted-imports": [
"error",
{
"patterns": [
"@material-ui/*/*/*",
"!@material-ui/core/test-utils/*"
]
}
]
}
}