Files
Joshen Lim 7f5865872a Enforce noUnusedLocals and noUnusedParameters in tsconfig.json + fix all related issues (#45264)
## Context

Enforce `noUnusedLocals` and `noUnusedParameters` in tsconfig.json + fix
all related issues
2026-04-27 17:42:34 +08:00

18 lines
531 B
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/nextjs.json",
"compilerOptions": {
"allowJs": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"lib": ["dom", "dom.iterable", "esnext"],
"paths": {
"@/*": ["./*"],
"@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths
},
"plugins": [{ "name": "next" }]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "public/deno/*.ts"]
}