From f68a5a8d9b6128610ba0f24c38e7422cdbc25855 Mon Sep 17 00:00:00 2001 From: Dmytro Stanchiev Date: Thu, 30 Apr 2026 22:23:01 -0400 Subject: [PATCH] feat(linter): enforce correctness on unused imports Configures the linter to treat unused imports as an error under the `correctness` rule category. This tightens up code quality standards by ensuring all imported bindings are utilized. If the import is unused, there is a high chance refactoring missed this flow. Review in-depth root causes. --- biome.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/biome.json b/biome.json index 79fe1f0..437ae9a 100644 --- a/biome.json +++ b/biome.json @@ -15,7 +15,10 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "recommended": true, + "correctness": { + "noUnusedImports": "error" + } } }, "javascript": {