-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
45 lines (45 loc) · 1.03 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
{
"plugins": [
"promise",
"node",
],
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"env" : {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__COVERAGE__" : false,
"__BASENAME__" : false
},
"rules": {
"key-spacing" : [2, {
"singleLine" : {
"beforeColon" : false,
"afterColon" : true
},
"multiLine" : {
"beforeColon" : false,
"afterColon" : true
}
}],
"max-len" : [2, 120, 2],
"object-curly-spacing" : [2, "always"],
"semi" : [2, "always"],
"indent" : ["error", 4],
"comma-dangle" : ["error", "always-multiline"],
"no-console" : 0,
"no-process-exit" : 0,
"node/no-unsupported-features" : 0,
"node/shebang" : 0
}
}