-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
49 lines (49 loc) · 1.16 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
43
44
45
46
47
48
49
{
"extends": [
"airbnb-base"
],
"rules": {
"arrow-body-style": "off",
"no-shadow": "warn",
"no-lonely-if": "warn",
"import/newline-after-import": "warn",
"global-require": "warn",
"new-cap": "warn",
"max-len": "off",
"no-param-reassign": "warn",
"no-else-return": "warn",
"no-loop-func": "warn",
"no-console": "off",
"prefer-const": "warn",
"prefer-template": "off",
"prefer-destructuring": "off",
"no-const-assign": "warn",
"yoda": "warn",
"spaced-comment": "warn",
"camelcase": "warn",
"import/no-dynamic-require": "warn",
"import/no-extraneous-dependencies": "warn",
"no-bitwise": "error",
"curly": "error",
"eqeqeq": "warn",
"wrap-iife": "error",
"indent": [
2,
2
],
"no-use-before-define": "warn",
"no-caller": "error",
"quotes": [
"warn",
"single"
],
"no-undef": "error",
"no-unused-vars": "warn",
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
"no-async-promise-executor": "off",
"no-octal": "off",
"no-plusplus": "off",
"no-await-in-loop": "off",
"consistent-return": "warn"
}
}