-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (60 loc) · 1.43 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
{
"env": {
"browser": true,
"es6": true
},
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"strict": "off",
"indent": [
"error",
4,
{ "SwitchCase": 1 }
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"no-multiple-empty-lines": [
"error",
{
"max": 5,
"maxBOF": 0,
"maxEOF": 0
}
],
"camelcase": "off",
"object-curly-newline": "off",
"no-restricted-globals": "off",
"eol-last": "off",
"no-console": "off",
"no-plusplus": "off",
"arrow-parens": [
"error",
"as-needed"
],
"no-trailing-spaces": "off",
"one-var": "off",
"no-param-reassign": ["error", { "props": false }],
"padded-blocks": "off",
"comma-dangle": "off",
"no-shadow": ["error", { "allow": ["e"] }],
"import/prefer-default-export": "off",
"key-spacing": ["error", { "mode": "minimum" }],
"arrow-body-style": "off",
"spaced-comment": "off",
"no-underscore-dangle": "off",
"prefer-destructuring": "off"
}
}