-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc
38 lines (38 loc) · 899 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
{
"extends": ["plugin:github/typescript"],
"env": {
"browser": true,
"es2021": true,
},
"plugins": ["github"],
"overrides": [],
"parserOptions": {
"project": "./eslint.tsconfig.json",
},
"rules": {
// "import/no-default-export": "error",
// "import/prefer-default-export": "off",
// "implicit-arrow-linebreak": "off",
// "arrow-body-style": "off",
// "no-restricted-syntax": "off"
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-expect-error": "allow-with-description",
"ts-ignore": true,
"ts-nocheck": true,
"ts-check": false,
"minimumDescriptionLength": 3,
},
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false,
"argsIgnorePattern": "^_",
},
],
},
}