From a7fd54468900a5ed731671cc17a6e5f06e7413f1 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 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9f99d8a5..702b0c26 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,22 @@ { "compilerOptions": { + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, "module": "es6", "moduleResolution": "node", - "verbatimModuleSyntax": true, - "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "verbatimModuleSyntax": true, + + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "exactOptionalPropertyTypes": true, "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, "noImplicitReturns": true, + "noPropertyAccessFromIndexSignature": true, "noUnusedLocals": true, "noUnusedParameters": true, - "skipLibCheck": true, "strict": true } }