-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
43 lines (43 loc) · 987 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
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"extends": [
"airbnb-base",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:react-redux/recommended",
"prettier"
],
"settings": {
"react": {
"version": "detect"
}
},
"parserOptions": {
"ecmaVersion": 2022
},
"plugins": [
"html",
"react",
"react-hooks",
"react-redux"
],
"env": {
"browser": true,
"es6": true
},
"ignorePatterns": ["*.test*.js"],
"rules": {
"no-underscore-dangle": ["off"],
"no-unused-expressions": ["error", { "allowTernary": true }],
"no-unused-vars": ["error", { "args": "none" }],
"import/prefer-default-export": 0,
"import/named": 0,
"no-await-in-loop": ["off"],
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["elem","e","wrapper","state"] }],
"prefer-destructuring": ["error", {
"array": false,
"object": false
}, {
"enforceForRenamedProperties": false
}]
}
}