[Lint] Lint unused imports (#493)

This commit is contained in:
Chenlei Hu
2025-02-08 21:20:39 -05:00
committed by GitHub
parent 12f8d33b78
commit de74d8a08c
8 changed files with 38 additions and 15 deletions

17
package-lock.json generated
View File

@@ -14,6 +14,7 @@
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.1.0",
"eslint": "^9.14.0",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
@@ -2696,6 +2697,22 @@
}
}
},
"node_modules/eslint-plugin-unused-imports": {
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.1.4.tgz",
"integrity": "sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==",
"dev": true,
"license": "MIT",
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0",
"eslint": "^9.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@typescript-eslint/eslint-plugin": {
"optional": true
}
}
},
"node_modules/eslint-scope": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz",