chore: remove unused code

This commit is contained in:
Fu Diwei
2024-12-21 12:46:22 +08:00
parent b6203e57ed
commit ef9ddd27a5
20 changed files with 151 additions and 636 deletions

View File

@@ -13,7 +13,21 @@ module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-explicit-any": [
"warn",
{
ignoreRestArgs: true,
},
],
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"react-refresh/only-export-components": [
"warn",
{