-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1000 Bytes
/
.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
{
"extends": [
"airbnb-base"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"strict": 0,
"no-param-reassign": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"no-cond-assign": ["error", "except-parens"],
"no-plusplus": 0,
"no-underscore-dangle": 0,
"no-multi-assign": 0,
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": 1,
"outerIIFEBody": 1,
"FunctionDeclaration": {
"parameters": "first"
},
"FunctionExpression": {
"parameters": "first"
},
"CallExpression": {
"parameters": "first"
}
}],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"functions": "never"
}],
"max-len": ["error", 100, 2, {
"ignoreUrls": true,
"ignoreComments": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}]
}
}