-
Notifications
You must be signed in to change notification settings - Fork 25
/
.eslintrc.js
51 lines (51 loc) · 1.13 KB
/
.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
48
49
50
51
module.exports = {
"extends": "airbnb-base",
"env": {
"mocha": true,
"node": true,
"browser": true
},
"rules": {
"strict": 0,
"arrow-body-style": 0,
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}
],
"import/no-extraneous-dependencies": 0,
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": 0,
"no-console": 0,
"no-underscore-dangle": [
"error",
{
"allow": [
"_id"
]
}
],
"prefer-template": 0,
"max-len": [
"warn",
130,
{
"ignoreComments": true
},
{
"ignoreTrailingComments": true
}
]
}
};