-
Notifications
You must be signed in to change notification settings - Fork 95
/
.eslintrc
40 lines (37 loc) · 885 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
40
{
"extends": [
"airbnb",
"airbnb/hooks",
],
"rules": {
"arrow-parens": "off",
"react/forbid-foreign-prop-types": "off",
"react/jsx-no-constructed-context-values": "off",
"react/jsx-props-no-spreading": "off",
},
"env": {
"browser": true,
"node": true,
},
"overrides": [
{
"extends": "airbnb",
"files": "test/**/*",
"env": {
"mocha": true
},
"rules": {
"arrow-parens": "off",
"import/no-extraneous-dependencies": [2, {
"devDependencies": true,
}],
"react/forbid-foreign-prop-types": "off",
"react/function-component-definition": "off",
"react/jsx-no-constructed-context-values": "off",
"react/jsx-props-no-spreading": "off",
"react/no-unused-prop-types": "warn",
"react/prop-types": "warn",
}
},
],
}