mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* refactor: migrate to pure esm * chore: revert `useDefineForClassFields` tsconf * chore: remove patch.js
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"lib": ["dom", "ES2022"],
|
|
"module": "nodenext",
|
|
// "module": "esnext",
|
|
"skipLibCheck": true,
|
|
|
|
"moduleResolution": "NodeNext",
|
|
// "moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"importHelpers": true,
|
|
"allowArbitraryExtensions": true,
|
|
// "baseUrl": ".",
|
|
"jsx": "react-jsx",
|
|
"useDefineForClassFields": false, // leads to "TypeError: Cannot redefine property requestInfo" in QueryDataSource.ts
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
// "noUnusedLocals": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"verbatimModuleSyntax": true,
|
|
"checkJs": true,
|
|
"allowUnusedLabels": false,
|
|
"allowUnreachableCode": false,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
|
|
/* legacy decorators */
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
|
|
/* Source maps */
|
|
"sourceMap": true,
|
|
|
|
// project references
|
|
"composite": true,
|
|
"incremental": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
"disableReferencedProjectLoad": true,
|
|
"disableSolutionSearching": true,
|
|
|
|
"types": ["reflect-metadata", "node", "@cloudbeaver/core-cli/global.d.ts"],
|
|
"plugins": [
|
|
{
|
|
// https://github.com/mrmckeb/typescript-plugin-css-modules/issues/222
|
|
"name": "typescript-plugin-css-modules",
|
|
"options": {
|
|
"goToDefinition": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|