From 0708eb4efe9494ba64fe7029e6c0559aeb8d519c Mon Sep 17 00:00:00 2001 From: Shinigami Date: Sat, 15 Jul 2023 07:23:28 +0200 Subject: infra: reduce tsconfig complexity (#2102) --- tsconfig.json | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index d201dfd1..19053aba 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,22 @@ { "compilerOptions": { - "target": "ES2019", - "moduleResolution": "Node", - "rootDir": "src", - "outDir": "dist", + "target": "ESNext", + "moduleResolution": "node", + "module": "ESNext", + "strict": true, + "noEmit": true, "declaration": true, - "esModuleInterop": true, - "allowJs": true, - "alwaysStrict": true, - "strictFunctionTypes": true, - "noImplicitAny": true, - "noImplicitThis": true, - "useUnknownInCatchVariables": true, "stripInternal": true, - "baseUrl": "." + + // We need to disable these for now, and need to tackle them in another PR + "strictNullChecks": false, + "strictBindCallApply": false, + "noImplicitAny": false, + + // These are configs specifically for !build and have to be reverted in the tsconfig.build.json + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true }, - "include": ["src/**/*"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "dist", "locale"] } -- cgit v1.2.3