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:
1 parent
9dc5652ad4
commit
07b8ba8064
1 file changed
+2
@@ -8,6 +8,8 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noUncheckedIndexedAccess": true,
|
"noUncheckedIndexedAccess": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"types": ["bun-types"]
|
"types": ["bun-types"]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user