From 38ab4105d8a54691a94e4f121db8869bc5103296 Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 18 Jun 2025 20:45:24 +0200 Subject: [PATCH] noUnusedImports and noUnusedVariables are now enabled by default --- commafeed-client/biome.json | 8 -------- commafeed-client/vite.config.ts | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/commafeed-client/biome.json b/commafeed-client/biome.json index cb934fa9..51e821a1 100644 --- a/commafeed-client/biome.json +++ b/commafeed-client/biome.json @@ -13,14 +13,6 @@ "arrowParentheses": "asNeeded" } }, - "linter": { - "rules": { - "correctness": { - "noUnusedImports": "error", - "noUnusedVariables": "error" - } - } - }, "files": { "includes": ["**", "!**/dist", "!**/node_modules", "!**/target", "!**/target-ide"] } diff --git a/commafeed-client/vite.config.ts b/commafeed-client/vite.config.ts index 35bc32a1..0ad960ec 100644 --- a/commafeed-client/vite.config.ts +++ b/commafeed-client/vite.config.ts @@ -20,6 +20,7 @@ export default defineConfig(() => ({ typescript: true, biome: { command: "check", + flags: "--error-on-warnings", }, }), ],