-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc
58 lines (58 loc) · 1.01 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
{
"parser": "babel-eslint",
"rules": {
"babel/generator-star-spacing": 1,
"babel/new-cap": 1,
"babel/object-shorthand": 1,
"babel/arrow-parens": 1,
"babel/no-await-in-loop": 1,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"indent": [
2,
2,
{"SwitchCase": 1}
],
"quotes": 0,
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"global-strict": [0, "never"],
"strict": [
0,
"global"
],
"no-underscore-dangle": 0,
"no-multi-spaces": [
2,
{ "exceptions": {
"ImportDeclaration": true,
"AssignmentPattern": true,
"VariableDeclarator": true,
"JSXAttribute": true
}
}
],
"comma-dangle": 0,
"camelcase": 0
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"plugins": [
"babel",
"react"
]
}