-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (38 loc) · 912 Bytes
/
.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
{
"extends": "airbnb-base",
"env": {
"mocha": true
},
"rules": {
"indent": [2, 4],
"no-unused-vars": 1,
"id-length": 0,
"no-unused-expressions": 0,
"prefer-rest-params": 0,
"no-underscore-dangle": ["warn", { "allowAfterThis": true }],
"no-param-reassign": ["error", { "props": false }],
"max-len": 1,
"prefer-template": 1,
"consistent-return": 1,
"no-prototype-builtins": 0,
"no-restricted-syntax": [
"error",
"ForOfStatement",
"LabeledStatement",
"WithStatement"
],
"no-plusplus": 0,
"arrow-parens": 0,
"import/no-extraneous-dependencies": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
}]
},
"parserOptions": {
"ecmaVersion": 6
}
}