-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.27 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
46
47
48
49
50
{
"extends": "google",
"env": {
"browser": false,
"node": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
"array-callback-return": 0,
"arrow-parens": [2, "as-needed"],
"arrow-spacing": 2,
"comma-dangle": [2, "never"],
"curly": 1,
"handle-callback-err": 0,
"key-spacing": 0,
"max-len": [1, {"code": 200, "tabWidth": 2, "ignoreUrls": true}],
"max-nested-callbacks": [1, {"max": 9}],
"newline-before-return": 0,
"no-caller": 0,
"no-else-return": 0,
"no-empty": 0,
"no-extra-semi": 2,
"no-invalid-this": 0,
"no-lonely-if": 0,
"no-multiple-empty-lines": ["error", {"max": 1}],
"no-negated-condition": 0,
"no-path-concat": 0,
"no-space-before-semi": [0, "always"],
"no-undef": 1,
"no-unused-expressions": 0,
"no-unused-vars": 2,
"no-use-before-define": 0,
"no-var": 0,
"no-warning-comments": [0, {"terms": ["todo", "fixme", "xxx"], "location": "start"}],
"padded-blocks": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"quote-props": 0,
"quotes": [0, "single"],
"require-jsdoc": 0,
"semi": 2,
"space-before-blocks": [1, "always"],
"space-before-keywords": [0, "always"],
"yoda": 0
}
}