-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
50 lines (50 loc) · 817 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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "airbnb",
"rules": {
"indent": [
2,
4
],
"object-curly-spacing": [
2,
"always"
],
"object-curly-newline": "off",
"no-multiple-empty-lines": [
2,
{
"max": 1,
"maxEOF": 1,
"maxBOF": 0
}
],
"quotes": [
2,
"double",
"avoid-escape"
],
"prefer-const": 1,
"react/jsx-curly-spacing": [
2,
"always"
],
"react/jsx-indent": [
2,
4
],
"semi": [
"error",
"never"
],
"no-shadow": ["error", { "allow": ["state"] }],
"comma-dangle": "off",
"import/no-extraneous-dependencies": "off",
"max-len": "off",
"react/forbid-prop-types": "off"
}
}