-
Notifications
You must be signed in to change notification settings - Fork 75
/
.eslintrc
42 lines (42 loc) · 1.05 KB
/
.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
39
40
41
42
{
"extends": "airbnb-base",
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "script"
},
"rules": {
"arrow-parens": [2, "as-needed", { "requireForBlockBody": true }],
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"class-methods-use-this": 0,
"consistent-return": 0,
"import/no-extraneous-dependencies": 0,
"max-len": [2, { "code": 80 }],
"no-confusing-arrow": 0,
"no-multi-spaces": [2, {
"exceptions": {
"AssignmentExpression": true,
"AssignmentPattern": true,
"CallExpression": true,
"VariableDeclarator": true
}
}],
"no-param-reassign": 0,
"no-unused-expressions": 0,
"no-use-before-define": 0,
"object-curly-newline": 0,
"prefer-destructuring": 0,
"prefer-promise-reject-errors": 0,
"prefer-template": 0,
"strict": [2, "global"]
}
}