From 07b8ba8064f7b81e7d904509f4c917496808816c Mon Sep 17 00:00:00 2001 From: yunyingk Date: Tue, 29 Sep 2026 22:05:19 +0800 Subject: [PATCH] Turn on noUnusedLocals and noUnusedParameters With the dead-symbol sweep landed (unused imports, unused params, copy-pasted tool import prologues), flip the compiler switches so the debt cannot return: `bun run check` now fails on any new unused local or parameter. The 737 findings this would have reported are already gone. --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 0764973..580d836 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,8 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "noUnusedParameters": true, "resolveJsonModule": true, "types": ["bun-types"] },