/
.eslintrc
41 lines (41 loc) · 1010 Bytes
/
.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
{
"env": {
"node": true
},
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"legacyDecorators": true,
"jsx": true
}
},
"rules": {
"max-len": ["error", { "code": 120 }],
"no-debugger": "error",
"no-console": ["error", { "allow": ["error", "warn"] }],
"no-alert": "error",
"semi": ["error", "never"],
"space-before-function-paren": "error",
"space-before-blocks": "error",
"no-empty-function": "off",
"eol-last": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "none"
},
"singleline": {
"delimiter": "comma"
}
}]
}
}