unused import + biome settings

This commit is contained in:
wass08
2026-01-21 10:11:30 +09:00
parent 5de0818633
commit c0da9701b4
2 changed files with 8 additions and 4 deletions
+4 -3
View File
@@ -2,12 +2,13 @@
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"biome.configPath": "./biome.jsonc", "biome.configPath": "./biome.jsonc",
"editor.defaultFormatter": "biomejs.biome", "editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true, "editor.formatOnSave": false,
"editor.formatOnPaste": true, "editor.formatOnPaste": true,
"emmet.showExpandedAbbreviation": "never", "emmet.showExpandedAbbreviation": "never",
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit", "source.fixAll.biome": "always",
"source.organizeImports.biome": "explicit", "quickfix.biome": "always",
"source.organizeImports.biome": "always",
"source.organizeImports": "never" "source.organizeImports": "never"
}, },
"[typescript]": { "[typescript]": {
+4 -1
View File
@@ -65,7 +65,10 @@
"correctness": { "correctness": {
"noUnusedVariables": "off", "noUnusedVariables": "off",
"noUnusedFunctionParameters": "off", "noUnusedFunctionParameters": "off",
"noUnusedImports": "error", "noUnusedImports": {
"level": "warn",
"fix": "safe"
},
"useExhaustiveDependencies": "info", "useExhaustiveDependencies": "info",
"noPrecisionLoss": "off" "noPrecisionLoss": "off"
}, },