58417412f1
* build: extend cypress tsconfig from build tsconfig * build: exclude node_modules from watch to improve typechecking perf * fix: even tighter tsconfigs * fix: even tighter * fix: tailor cypress tsconfig to testing * fix: split them up again * fix: pr comments
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"baseUrl": "src",
|
|
"composite": true,
|
|
"downlevelIteration": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noUnusedLocals": false,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"target": "ESNext",
|
|
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo/build", // avoid clobbering the cypress tsbuildinfo
|
|
"types": ["jest"],
|
|
"useUnknownInCatchVariables": false
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["src/**/*", "src/**/*.json"],
|
|
"watchOptions": {
|
|
"excludeDirectories": ["node_modules"]
|
|
}
|
|
}
|