From 69aeb7889ac136a8e4fbe7de1330298e30345479 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 22 Oct 2025 13:59:12 +0400 Subject: feat/frontend: switch to vite, update node to v22 (#281) --- frontend/tsconfig.json | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'frontend/tsconfig.json') diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 813525a..13456ba 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,29 +1,35 @@ { "extends": "./tsconfig.paths.json", "compilerOptions": { - "target": "es5", + "target": "ES2020", + "useDefineForClassFields": true, "lib": [ - "dom", - "dom.iterable", - "esnext" + "ES2020", + "DOM", + "DOM.Iterable" ], - "allowJs": true, + "module": "ESNext", "skipLibCheck": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noFallthroughCasesInSwitch": true, - "strictNullChecks": true, - // "allowImportingTsExtensions": false, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, "isolatedModules": true, + "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "forceConsistentCasingInFileNames": true, + "strictNullChecks": true, + "allowJs": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true }, "include": [ "src" ] -} +} \ No newline at end of file -- cgit v1.2.3