diff options
| author | Shinigami <[email protected]> | 2023-07-15 07:23:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-15 07:23:28 +0200 |
| commit | 0708eb4efe9494ba64fe7029e6c0559aeb8d519c (patch) | |
| tree | fa678de84ca993ab19bc132debae26ae1f6a0d89 /tsconfig.json | |
| parent | c6323f81339b2371305dd8be38a1946be5140683 (diff) | |
| download | faker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.tar.xz faker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.zip | |
infra: reduce tsconfig complexity (#2102)
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 30 |
1 files changed, 16 insertions, 14 deletions
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"] } |
