noUnusedImports and noUnusedVariables are now enabled by default

This commit is contained in:
Athou
2025-06-18 20:45:24 +02:00
parent 5ed9dadcc2
commit 38ab4105d8
2 changed files with 1 additions and 8 deletions

View File

@@ -13,14 +13,6 @@
"arrowParentheses": "asNeeded"
}
},
"linter": {
"rules": {
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "error"
}
}
},
"files": {
"includes": ["**", "!**/dist", "!**/node_modules", "!**/target", "!**/target-ide"]
}

View File

@@ -20,6 +20,7 @@ export default defineConfig(() => ({
typescript: true,
biome: {
command: "check",
flags: "--error-on-warnings",
},
}),
],