-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc
35 lines (35 loc) · 948 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
{
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "script"
},
"extends": "airbnb-base",
"rules": {
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"strict": ["error", "global"],
"no-use-before-define": ["error", "nofunc"],
"no-multi-assign": "off",
"prefer-destructuring": "off",
"object-curly-newline": ["error", {
"multiline": true,
"consistent": true
}],
"function-paren-newline": "off",
"operator-linebreak": ["error", "after"],
"implicit-arrow-linebreak": "off",
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
"prefer-object-spread": "off",
"max-classes-per-file": "off"
}
}