feat(tsconfig): stricten up the default TypeScript config some more

This commit is contained in:
Joakim Carlstein 2023-11-09 08:37:37 +01:00
parent 9c5f9ebf23
commit 59780207bd
3 changed files with 16 additions and 1 deletions

View file

@ -2,6 +2,8 @@
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"allowSyntheticDefaultImports": true,
"declaration": true,
"declarationMap": true,
@ -13,8 +15,14 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true,
"resolveJsonModule": false,
"skipLibCheck": true,