forked from victortrusov/react-router-loading
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 901 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
46
47
48
49
50
{
"extends": [
"standard",
"standard-react",
"plugin:react/recommended",
"plugin:import/react"
],
"env": {
"es6": true
},
"plugins": [
"react"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"react/prop-types": 0,
"quote-props": 0,
"curly": 0,
// don't force es6 functions to include space before paren
"space-before-function-paren": 0,
// allow specifying true explicitly for boolean props
"react/jsx-boolean-value": 0,
"no-undef": "error",
"indent": [
"warn",
4,
{
"SwitchCase": 1
}
],
"semi": [
"warn",
"always"
],
"camelcase": "warn",
"no-var": "warn",
"react-hooks/exhaustive-deps": 0,
"react/jsx-indent": [
"error",
4
],
"react/jsx-indent-props": [
"error",
4
]
}
}