-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 997 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
{
"extends": [
"react-app",
"react"
],
"settings": {
"import/resolver": {
"node": {
"paths": [
"./src"
],
"extensions": [
".js",
".jsx"
]
}
}
},
"rules": {
"semi": [
"error",
"never"
],
"indent": [ 2, "tab", { "SwitchCase": 1 } ],
"operator-linebreak": ["error", "before"],
"comma-dangle": [ "error", "always-multiline" ],
"quote-props": [ "error", "as-needed" ],
"array-bracket-spacing": ["error", "always", { "singleValue": false }],
"new-cap": [ 2, { "capIsNewExceptions": [ "express.Router" ] }],
"import/no-unresolved": [ 0 ],
"react/require-default-props": [ 2 ],
"react/prefer-stateless-function": [ 2, { "ignorePureComponents": true } ],
"prefer-reflect": [ 0 ]
}
}