forked from xifengzhu/holy-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
63 lines (63 loc) · 1.22 KB
/
.eslintrc.json
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
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parser": "babel-eslint",
"plugins": [
"import",
"promise",
"standard"
],
"env": {
"es6": true,
"browser": true,
"node": true,
"jquery": true,
"mocha": true
},
"rules": {
"no-console": 1,
"no-var": 1,
"import/named": 0,
"import/no-unresolved": 0,
"no-trailing-spaces": 0,
"eol-last": 0,
"no-underscore-dangle": 0,
"no-alert": 0,
"no-lone-blocks": 0,
"camelcase": 1,
"no-bitwise": 0,
"curly": [2, "all"],
"eqeqeq": [2, "allow-null"],
"no-eq-null": 0,
"guard-for-in": 1,
"no-empty": 1,
"no-use-before-define": 0,
"no-obj-calls": 2,
"no-unused-vars": 0,
"new-cap": 1,
"no-shadow": 0,
"strict": 2,
"no-invalid-regexp": 2,
"comma-dangle": 2,
"no-undef": 2,
"no-new": 1,
"no-extra-semi": 1,
"no-debugger": 2,
"no-caller": 1,
"semi": 1,
"quotes": [2, "single", {"allowTemplateLiterals": true}],
"no-unreachable": 2,
"prefer-template":0,
"prefer-const": 2,
"no-const-assign":2
},
"globals": {
"App": true,
"wx": true,
"getApp": true,
"Page": true
}
}