-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy path.eslintrc
47 lines (47 loc) · 1.04 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
43
44
45
46
47
{
"extends": ["eslint-config-egg/typescript","eslint-config-standard","eslint:recommended","plugin:jsdoc/recommended"],
"plugins": ["jsdoc"],
"rules": {
"comma-dangle":["error","always-multiline"],
"operator-linebreak":["error","before"],
"space-before-function-paren":[
"error",
{
"anonymous":"always",
"named":"always",
"asyncArrow":"always"
}
],
"linebreak-style":0,
"no-var-requires":0,
"no-return-assign":"off",
"default-case":"off",
"no-useless-constructor":"off",
"no-unused-vars":0,
"jsdoc/require-param-description":"off",
"jsdoc/check-tag-names": 0,
"jsdoc/no-undefined-types":0,
"jsdoc/valid-types":0,
"jsdoc/tag-lines":0,
"jsdoc/require-returns":0,
"jsdoc/check-param-names":0
},
"overrides":[
{
"files":["*.ts"],
"rules":{
"@typescript-eslint/no-unused-vars":0,
"@typescript-eslint/semi":0,
"@typescript-eslint/no-var-requires":0,
"@typescript-eslint/no-useless-constructor":0
}
}
],
"globals": {
"_":"readonly",
"app":true
},
"env": {
"node": true
}
}