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.
This commit is contained in:
gitea committed 2026-09-29 22:05:19 +08:00
1 parent 9dc5652ad4
commit 07b8ba8064
1 file changed
+2
+2
View File
@@ -8,6 +8,8 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"types": ["bun-types"]
},