-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
41 lines (41 loc) · 1022 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
41
{
"env": {
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"globalReturn": true
},
"sourceType": "module"
},
"rules": {
"camelcase": 2,
"consistent-return": 0,
"key-spacing": 0,
"new-cap": 0,
"no-alert": 0,
"no-caller": 2,
"no-console": 0,
"no-multi-spaces": 0,
"no-shadow": 0,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"no-use-before-define": [2, "nofunc"],
"quotes": [1, "single"],
"semi": 2,
"keyword-spacing": [2, {"before": true, "after": true}],
"space-before-function-paren": 1,
"strict": 2,
"array-callback-return": 1,
"no-self-assign": 2,
"id-blacklist": [2, "self"],
"template-curly-spacing": [2, "never"]
},
"globals": {
"Promise": true
}
}