mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
1606bd1feb
Remove `noUnusedLocals` option from `tsconfig.json` files. It's redundant, as Oxlint `no-unused-vars` covers this for us. It's an annoyance to have `noUnusedLocals` enabled, as in VS Code TypeScript complains about unused vars, even if they're prefixed with `_`. Removing this option allows simplifying type tests added in #20066. Only reason these types had to be exported was to stop TS complaining that they were unused.
14 lines
338 B
JSON
14 lines
338 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["ESNext"],
|
|
"module": "Preserve",
|
|
"moduleResolution": "Bundler",
|
|
"noEmit": true,
|
|
"target": "ESNext",
|
|
"allowImportingTsExtensions": true,
|
|
"strict": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"exclude": ["node_modules", "fixtures", "test/fixtures/*/files", "conformance/submodules"]
|
|
}
|