From fcc0c06ec7912ae360d5a6562da03295f8835b33 Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Mon, 22 Jun 2026 00:06:01 +0000 Subject: [PATCH] feat: update backend tsconfig.json with strict mode --- backend/tsconfig.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 5fe2176..6ae52b4 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -1,18 +1,19 @@ { "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "bundler", + "target": "ES2020", + "module": "commonjs", + "lib": ["ES2020"], "outDir": "./dist", "rootDir": "./src", "strict": true, + "noImplicitAny": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, - "allowImportingTsExtensions": true, "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]