From dc59d200c75c2fd77055456c436ce85cbba881b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Thu, 12 Sep 2024 09:58:41 +0300 Subject: [PATCH] Stricter tsconfig --- tsconfig.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9f99d8a5..970b8cdd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,23 @@ { "compilerOptions": { + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, "module": "es6", "moduleResolution": "node", - "verbatimModuleSyntax": true, - "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "forceConsistentCasingInFileNames": true, + "verbatimModuleSyntax": true, + + "skipLibCheck": true, + + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "exactOptionalPropertyTypes": true, "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, "noImplicitReturns": true, + "noPropertyAccessFromIndexSignature": true, "noUnusedLocals": true, "noUnusedParameters": true, - "skipLibCheck": true, "strict": true } }