forked from spencermountain/spacetime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.04 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
{
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
},
"rules": {
"no-cond-assign": 2,
"no-var": 0,
"prefer-const": 0,
"no-extra-parens": 0,
"no-dupe-keys": 2,
"no-undef": 2,
"no-unreachable": 2,
"eqeqeq": 1,
"keyword-spacing": 0,
"no-native-reassign": 2,
"no-redeclare": 2,
"radix": 1,
"indent": 0,
"quotes": [
0,
"single",
"avoid-escape"
],
"no-shadow": 2,
"no-unused-vars": 1,
"no-lonely-if": 1,
"no-use-before-define": 2,
"no-bitwise": 2,
"no-dupe-class-members": 2,
"guard-for-in": 1,
"consistent-return": 2,
"no-octal-escape": 2,
"no-constant-condition": 1,
"no-unused-expressions": 2
},
"globals": {
"process": true,
"require": true,
"console": true,
"module": true,
"exports": true,
"setInterval": true,
"setTimeout": true,
"global": true,
"Intl": true,
"clearInterval": true,
"clearTimeout": true,
"__dirname": true,
"__pathname": true,
}
}