From 32c9f02049626c4431a67409c085c3bb18f44a2c Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Sat, 25 May 2024 18:23:19 +0200 Subject: [PATCH] chore: update tsconfig Signed-off-by: Manuel Ruck --- democracy/desktop/tsconfig.json | 48 +++++++++++---------------------- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/democracy/desktop/tsconfig.json b/democracy/desktop/tsconfig.json index d514f12f..b8d30a9b 100644 --- a/democracy/desktop/tsconfig.json +++ b/democracy/desktop/tsconfig.json @@ -1,46 +1,30 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "removeComments": true, - "preserveConstEnums": true, - "strict": true, - "alwaysStrict": true, - "strictNullChecks": true, - "noUncheckedIndexedAccess": true, - - "noImplicitAny": false, - "noImplicitReturns": true, - "noImplicitThis": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "allowUnreachableCode": false, - "noFallthroughCasesInSwitch": true, - "target": "es5", - "outDir": "out", - "declaration": true, - "sourceMap": true, - - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "allowJs": false, + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, "skipLibCheck": true, + "strict": false, "forceConsistentCasingInFileNames": true, - - "jsx": "preserve", "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, "isolatedModules": true, + "jsx": "preserve", "incremental": true, - - "baseUrl": ".", + "plugins": [ + { + "name": "next" + } + ], + "strictNullChecks": true, "paths": { "@/*": ["./src/*"], "@/public/*": ["./public/*"] } }, - "exclude": ["./out/**/*", "./node_modules/**/*"], - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] }