forked from Blackhawk-TA/dynoBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 780 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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": ["promise"],
"rules": {
"block-scoped-var": "error",
"camelcase": "warn",
"comma-spacing": ["error", {"before": false, "after": true}],
"default-case": "warn",
"indent": ["error", "tab", {
"SwitchCase": 1
}],
"keyword-spacing": ["error", {
"after": true
}],
"key-spacing": ["error", {
"mode": "strict",
"beforeColon": false,
"afterColon": true
}],
"no-multi-spaces": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": "error",
"promise/catch-or-return": "error",
"quotes": ["error", "double", {
"allowTemplateLiterals": true,
"avoidEscape": true
}],
"semi": ["error", "always"]
}
}