-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
32 lines (32 loc) · 895 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
{
"extends": ["semistandard"],
"env": {
"node" : true,
"mocha" : true
},
"rules": {
"padded-blocks" : 0,
"one-var" : ["error", "always"],
"indent" : ["error", 4],
"no-multi-spaces" : ["error", {
"exceptions": {
"VariableDeclarator" : true,
"AssignmentExpression" : true,
"LogicalExpression" : true,
"ObjectExpression" : true
}
}],
"key-spacing" : [2, {
"singleLine": {
"beforeColon": true,
"afterColon": true
},
"multiLine": {
"beforeColon": true,
"afterColon": true,
"align": "colon"
}
}],
"space-before-function-paren" : ["error", "never"]
}
}