-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
64 lines (64 loc) · 1.44 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
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2021
},
"rules": {
"react/jsx-props-no-spreading": ["off"],
"no-confusing-arrow": [
"error",
{
"allowParens": true
}
],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/jsx-one-expression-per-line": 0,
"react/sort-prop-types": [
"error",
{
"ignoreCase": false
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
],
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": ["config"]
}
],
"sort-imports": "off",
"import/no-unresolved": 0,
"react/prop-types": "off",
"no-shadow": "off",
"indent": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/jsx-closing-bracket-location": "off",
"import/prefer-default-export": "off",
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "off",
"react/style-prop-object": "off",
"react/jsx-closing-bracket": "off",
"prettier/prettier": "error",
"arrow-parens": "off",
"object-curly-newline": "off"
},
"plugins": ["react", "prettier", "react-hooks"],
"extends": ["airbnb", "prettier"]
}