-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
43 lines (42 loc) · 1.19 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
{
"extends": "airbnb-base",
"env": {
"node": true
},
"globals": {
},
"plugins": [
"import"
],
"rules": {
"no-use-before-define": ["error", { "functions": false }],
"no-const-assign": "error",
"no-undef": "error",
"consistent-return": "off",
"no-unused-vars": "warn",
"no-underscore-dangle": "off",
"import/no-dynamic-require": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-shadow-restricted-names": "error",
"no-shadow": "warn",
"no-multi-assign": "off",
"no-prototype-builtins": "off",
"camelcase": "off",
"no-continue": "off",
"global-require": "off",
"no-sparse-arrays":"off",
"no-mixed-operators": "off",
"object-property-newline": "off",
"no-await-in-loop": "off",
"no-loop-func": "off",
"no-plusplus": "warn",
"class-methods-use-this": "warn",
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"comma-style": ["error", "last", { "exceptions": { "ArrayExpression": true } }],
"object-curly-newline": ["error", { "consistent": true }],
"function-paren-newline": "off",
"import/prefer-default-export" : "off",
"no-console": "off"
}
}