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]
36 lines
902 B
JSON
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"]
|
|
}
|