-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.13 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
{
"extends": "eslint:recommended",
"rules": {
"semi": ["error", "never"],
"quotes": ["error", "single"],
"no-console": "off",
"indent": ["error", 2, {"SwitchCase": 1}],
"no-unexpected-multiline": ["error"],
"no-tabs": ["error"],
"one-var-declaration-per-line": ["error"],
"space-infix-ops": ["error"],
"space-unary-ops": ["error"],
"spaced-comment": ["error"],
"switch-colon-spacing": ["error", {"after": true, "before": false}],
"unicode-bom": ["error", "never"],
"no-var": ["error"],
"no-unused-vars": ["error", { "args": "none" }],
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 1}],
"no-constant-condition": ["off"],
"no-fallthrough": ["error"],
"brace-style": ["error", "1tbs"],
"no-return-await": ["error"]
},
"parserOptions": {
"ecmaVersion": 8
},
"globals": {
"console": true,
"global": true,
"process": true,
"require": true,
"__dirname": true,
"exports": true,
"ArrayBuffer": true,
"DataView": true,
"setTimeout": true,
"document": true,
"Promise": true,
"Buffer": true,
"module": true
}
}