-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 919 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
41
42
43
44
45
{
"extends": ["airbnb", "plugin:flowtype/recommended", "prettier/react"],
"settings": {
"import/resolver": {
"webpack": {
"config": "./config/client"
}
}
},
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"plugins": ["flowtype", "jest"],
"rules": {
"arrow-body-style": 0,
"quotes": [2, "double"],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-mixed-operators": [
"error",
{
"allowSamePrecedence": true
}
],
"react/no-multi-comp": 0,
"jsx-a11y/href-no-hash": 0,
"react/no-array-index-key": 0,
"comma-dangle": 0,
"react/jsx-wrap-multilines": 0,
"arrow-parens": 0,
"no-console": ["error", { "allow": ["log"] }]
}
}