-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
61 lines (60 loc) · 1.19 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
{
// "extends": "standard",
// "extends": "airbnb",
"extends": "airbnb-base",
// "extends": "egg",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": [
],
"rules": {
"semi": [2, "always"],
"semi-spacing": 1,
"space-before-function-paren": 0,
"no-trailing-spaces": 0,
"eol-last": 0,
"indent": [0, "tab"],
"comma-dangle": 0,
"curly": 0,
"spaced-comment": 1,
"no-tabs": 0,
"generator-star-spacing": 0,
"prefer-destructuring": 1,
"prefer-rest-params": 1,
"func-names": 1,
"constructor-super": 1,
"arrow-body-style": 1,
"no-multi-space": 0,
"no-multi-spaces": 0,
"function-paren-newline": 1,
"consistent-return": 0,
"no-console": 0,
"class-methods-use-this": 0,
"no-unused-vars": 1,
"camelcase": 1,
"no-restricted-syntax": 1,
"no-underscore-dangle": 1,
"global-require": 1,
"import/newline-after-import": 1,
"radix": 1,
"no-param-reassign": 1,
"no-prototype-builtins": 1,
"linebreak-style": 0,
"no-shadow": 1,
"max-len": 1,
"no-plusplus": 1,
"no-undef": 1,
"prefer-spread": 0,
"prefer-template": 1
}
}