Files
webstudio/packages/tsconfig/base.json
T
Bogdan Chadkin a65ab3379f build: forbid unused parameters (#3732)
Enabled flag in tsconfig to forbid unused parameters.
2024-07-15 21:17:13 +02:00

31 lines
914 B
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"module": "ES2022",
"target": "ES2022",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "bundler",
"customConditions": ["webstudio"],
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"allowJs": false,
"jsx": "react-jsx",
"resolveJsonModule": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"emitDeclarationOnly": true,
"declaration": true,
// types should be generated to provide additional checks
// needed only for generation
// there is no other way to enable these checks
"declarationDir": "node_modules/.ws-typecheck-tmp"
}
}