-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (39 loc) · 925 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
37
38
39
40
{
"extends": "vstg",
"plugins": [
"node",
"mocha"
],
"rules": {
"no-return-assign": 2,
"comma-dangle": [ 2, "always-multiline" ],
"computed-property-spacing": [ 2, "never" ],
"no-multiple-empty-lines": [ 2, { "max": 2 }],
"semi": [ 2, "always" ],
"space-before-function-paren": [ 2, "never" ],
"no-invalid-this": "warn",
"global-require": "warn",
"brace-style": [ 2, "stroustrup" ],
"arrow-body-style": [ 2, "as-needed" ],
"arrow-parens": [ 2, "always" ],
"object-curly-spacing": [
2,
"always",
{
"objectsInObjects": false,
"arraysInObjects": false
}
],
"array-bracket-spacing": [
2,
"always",
{
"objectsInArrays": false,
"arraysInArrays": false
}
],
"standard/object-curly-even-spacing": 0,
"promise/always-return": 2,
"promise/catch-or-return": 2
}
}