-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
63 lines (63 loc) · 1.03 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"plugins": [
"react"
],
"rules": {
"quotes": [
2,
"single"
],
"prefer-const": 2,
"no-const-assign": 2,
"no-var": 2,
"no-array-constructor": 1,
"no-new-object": 1,
"object-shorthand": 1,
"quote-props": [
1,
"as-needed"
],
"no-loop-func": 2,
"no-param-reassign": 2,
"prefer-arrow-callback": 0,
"arrow-spacing": 1,
"indent": [
1,
2,
{
"SwitchCase": 1
}
],
"space-before-blocks": 1,
"keyword-spacing": 1,
"comma-dangle": [
1,
"always-multiline"
],
"camelcase": 0,
"no-dupe-keys": 1,
"no-unused-vars": [
2,
{
"vars": "local",
"args": "none"
}
],
"no-use-before-define": [
1,
"nofunc"
],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/react-in-jsx-scope": 1,
"jsx-quotes": [
"error",
"prefer-double"
]
}
}