-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
81 lines (81 loc) · 1.88 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"extends": ["wesbos"],
"globals": {
"$": false
},
"rules": {
"no-extra-semi": "off",
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": ["error", "unix"],
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"space-in-parens": ["error", "never"],
"no-trailing-spaces": "error",
"curly": "error",
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"space-before-blocks": "error",
"space-before-function-paren": ["error", "never"],
"space-infix-ops": "error",
"no-multi-spaces": "error",
"key-spacing": [
"error",
{
"beforeColon": false,
"afterColon": true,
"mode": "strict"
}
],
"comma-spacing": [
"error",
{
"before": false,
"after": true
}
],
"quotes": ["error", "single"],
"no-console": "off",
"no-use-before-define": [
"error",
{
"functions": false
}
],
"no-plusplus": "off",
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 4,
"semi": false
}
]
}
}