-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.04 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
{
"parser": "@typescript-eslint/parser",
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:import/recommended",
"plugin:import/typescript"
],
"plugins": ["@typescript-eslint", "prettier", "import"],
"parserOptions": {
"ecmaVersion": 12,
"project": "./tsconfig.json",
"tsconfigRootDir": "."
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
},
"rules": {
"no-console": 2,
"prettier/prettier": 2,
"import/no-dynamic-require": 2,
"import/no-useless-path-segments": 1,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/order": [
1,
{ "newlines-between": "always", "alphabetize": { "order": "asc" } }
],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-unused-vars": [
1,
{ "varsIgnorePattern": "^_.+", "argsIgnorePattern": "^_" }
]
}
}