1 |
{ |
2 |
"env": { |
3 |
"browser": true, |
4 |
"es2021": true |
5 |
}, |
6 |
"extends": [ |
7 |
|
8 |
], |
9 |
"overrides": [ |
10 |
|
11 |
], |
12 |
"parser": "@typescript-eslint/parser", |
13 |
"parserOptions": { |
14 |
"ecmaVersion": "latest", |
15 |
"sourceType": "module" |
16 |
}, |
17 |
"plugins": [ |
18 |
"@typescript-eslint", |
19 |
"unused-imports" |
20 |
], |
21 |
"rules": { |
22 |
"no-unused-vars": "off", |
23 |
"unused-imports/no-unused-imports": "error", |
24 |
"unused-imports/no-unused-vars": [ |
25 |
"warn", |
26 |
{ |
27 |
"vars": "all", |
28 |
"varsIgnorePattern": "^_", |
29 |
"args": "after-used", |
30 |
"argsIgnorePattern": "^_" |
31 |
} |
32 |
] |
33 |
} |
34 |
} |