-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
67 lines (67 loc) · 1.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true,
"amd": true
},
"globals": {
"_ENV_": true,
"AMap": true
},
"rules": {
"strict": 0,
"no-console": 0,
"eqeqeq": 2,
"no-alert": 1,
"no-caller": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-return-assign": 2,
"no-param-reassign": 1,
"no-useless-call": 2,
"no-unused-expressions": 1,
"no-sequences": 2,
"array-bracket-spacing": 2,
"block-spacing": 2,
"brace-style": 2,
"camelcase": 1,
"comma-dangle": 2,
"comma-spacing": 2,
"comma-style": 2,
"computed-property-spacing": 2,
"consistent-this": 1,
"eol-last": 2,
"func-names": 1,
"func-call-spacing": 2,
"func-style": 0,
"id-blacklist": 2,
"id-length": 1,
"id-match": 2,
"indent": 2,
"key-spacing": 2,
"keyword-spacing": 2,
"line-comment-position": 1,
"linebreak-style": 2,
"lines-around-comment": 2,
"lines-around-directive": 2,
"max-depth": 2,
"max-len": 1,
"max-lines": 1,
"max-nested-callbacks": 2,
"max-params": 1,
"max-statements-per-line": 1,
"max-statements": 1,
"multiline-ternary": 2,
"new-cap": 1,
"new-parens": 2,
"newline-after-var": 2,
"newline-per-chained-call": 2,
"no-array-constructor": 2,
"no-bitwise": 2,
"no-continue": 2,
"no-multiple-empty-lines": 2,
"semi-spacing": 2
}
}