-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (41 loc) · 1.02 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
{
"extends": "eslint:recommended",
"env": {
"node":true,
"es6": true
},
"parserOptions": {
"ecomaversion": 2019
},
"rules": {
"no-param-reassign": "off",
"import/first": "off",
"import/named": "error",
"import/namespace": "error",
"import/default": "error",
"import/export": "error",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"prefer-promise-reject-errors": "off",
"comma-dangle": ["error", "always-multiline"],
"no-underscore-dangle": 0,
"indent": ["error", 2],
"linebreak-style": 0,
"global-require": 0,
"eslint linebreak-style": [0, "error", "windows"],
"quotes": [ "error","single" ],
"semi": [ "error","always" ],
"func-names": ["error", "never"],
"max-len": [
"error",
{
"code": 125,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreTemplateLiterals": true
}
],
}
}