-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
42 lines (42 loc) · 1.1 KB
/
.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
{
"extends": ["eslint:recommended", "airbnb-base"],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"no-console": "off",
"no-unused-vars": "warn",
"no-useless-escape": "warn",
"no-empty": "warn",
"no-var": "error",
"no-mixed-spaces-and-tabs": "warn",
"prefer-const": "warn",
"require-atomic-updates": "off",
"no-extra-semi": "warn",
"semi": [2, "always"],
"indent": ["warn", 4],
"consistent-return": "off",
"max-len": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"prefer-destructuring": ["error", {
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": true
}
}],
"import/no-unresolved": "off",
"import/extensions": "off",
"no-restricted-globals": "off",
"no-new": "off"
}
}