-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
49 lines (49 loc) · 1.27 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
{
"env": {
"es2021": true
},
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "json-format", "unused-imports"],
"rules": {
"linebreak-style": ["off", "unix"],
"quotes": ["off", "double"],
"no-empty": ["warn"],
"@typescript-eslint/no-inferrable-types": ["off"],
"no-constant-condition": ["off"],
"prefer-const": ["warn"],
"curly": ["warn"],
"@typescript-eslint/no-empty-function": ["off"],
"no-case-declarations": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"unused-imports/no-unused-imports": ["error"],
"lines-between-class-members": [
"warn",
"always",
{ "exceptAfterSingleLine": true }
],
"padding-line-between-statements": [
"warn",
{
"blankLine": "always",
"prev": "*",
"next": ["return", "multiline-block-like"]
},
{
"blankLine": "always",
"prev": "multiline-block-like",
"next": ["*"]
}
],
"@typescript-eslint/no-explicit-any": ["off"]
}
}