renovate/tsconfig.json
Michael Kriese e5c6f38d75
refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00

35 lines
1,009 B
JSON

{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"outDir": "./dist",
/* https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
"target": "es2020",
"module": "commonjs",
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": false,
"noUnusedLocals": true,
"noImplicitOverride": true,
"experimentalDecorators": true,
"useUnknownInCatchVariables": false /* we aren't prepared for enabling this by default since ts 4.4*/,
"isolatedModules": true /* required for esbuild */,
"lib": ["es2020"],
"types": ["node", "jest", "jest-extended", "expect-more-jest"],
"allowJs": true,
"checkJs": true,
"importsNotUsedAsValues": "error"
},
"include": ["**/*.ts", "**/*.js", "**/*.mjs", "**/*.cjs"],
"exclude": [
"node_modules",
"./.cache",
"./dist",
"**/__mocks__/*",
"coverage",
"config.js",
"tmp"
]
}