unused import + biome settings
This commit is contained in:
Vendored
+4
-3
@@ -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
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user