-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
47 lines (47 loc) · 1007 Bytes
/
.eslintrc.js
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
module.exports = {
"env": {
"browser": true,
"node": true,
},
"extends": "airbnb",
"parserOptions": {},
"plugins": [],
"rules": {
"arrow-body-style": 0,
"consistent-return": 1,
"func-names": 0,
"array-bracket-newline": "consistent",
"import/no-extraneous-dependencies": 0,
"indent": [2, "tab", {
"SwitchCase": 1
}],
"lines-around-comment": [2, {
"allowBlockStart": true,
"allowObjectStart": true,
"beforeBlockComment": true,
"beforeLineComment": true
}],
"lines-around-directive": 0,
"max-len": 0,
"no-mixed-operators": [2, {
"allowSamePrecedence": true
}],
"no-param-reassign": [2, {
"props": false
}],
"no-plusplus": 0,
"no-tabs": 0,
"no-undef": 0,
"no-use-before-define": 0,
"prefer-promise-reject-errors": 2,
"radix": [2, "as-needed"],
"strict": 0,
"valid-jsdoc": 2,
"space-before-function-paren": 0,
"yoda": 0,
"no-alert": 0,
"class-methods-use-this": 0,
"no-param-reassign": 1,
"no-prototype-builtins": 0,
}
};