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.
18 lines
424 B
JSON
18 lines
424 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"resolveJsonModule": true,
|
|
"types": ["bun-types"]
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|