Files
piratepoet/tsconfig.base.json
Jan Jakes 65fefd3d73 Add composite tsconfig option for faster rebuilds
Due to https://github.com/microsoft/TypeScript/issues/33827 we need to explicitly
name JSON files in the "include" array, until we upgrade to a more recent TypeScript.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00

36 lines
902 B
JSON

{
"compilerOptions": {
"composite": true,
"incremental": true,
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"downlevelIteration": true,
"jsx": "react-jsx",
// strict checks
"strict": true,
"alwaysStrict": true,
"strictBindCallApply": false,
"strictFunctionTypes": false,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"noImplicitAny": false,
"noImplicitThis": false,
"forceConsistentCasingInFileNames": true,
// additional checks
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"exclude": ["**/node_modules", "**/vendor"]
}