-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
33 lines (33 loc) · 852 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
{
"extends": ["semistandard"],
"env": {
"node" : true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 8 // or 2017
},
"rules": {
"padded-blocks" : 0,
"one-var" : ["error", "always"],
"indent" : ["error", 4],
"no-multi-spaces" : ["error", {
"exceptions": {
"VariableDeclarator" : true,
"AssignmentExpression" : true,
"LogicalExpression" : true
}
}],
"key-spacing" : [2, {
"singleLine": {
"beforeColon": true,
"afterColon": true
},
"multiLine": {
"beforeColon": true,
"afterColon": true,
"align": "colon"
}
}]
}
}