-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 890 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
{
"extends": ["eslint:recommended", "airbnb"],
"env": {
"browser": true,
"es2020": true,
"jest": true,
"node": true,
"shared-node-browser": true
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module",
"ecmaFeatures": {
"allowImportExportEverywhere": true,
"experimentalObjectRestSpread": true,
"globalReturn": true,
"impliedStrict": true,
"jsx": true
}
},
"plugins": ["jsx-a11y", "react-hooks", "react"],
"rules": {
"jsx-quotes": ["error", "prefer-single"],
"import/prefer-default-export": "warn",
"react/jsx-filename-extension": [
"error",
{ "extensions": [".js", ".jsx"] }
],
"react/jsx-props-no-spreading": "off",
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error"
},
"globals": {
"document": true,
"window": true
}
}