aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-07-15 07:23:28 +0200
committerGitHub <[email protected]>2023-07-15 07:23:28 +0200
commit0708eb4efe9494ba64fe7029e6c0559aeb8d519c (patch)
treefa678de84ca993ab19bc132debae26ae1f6a0d89 /tsconfig.json
parentc6323f81339b2371305dd8be38a1946be5140683 (diff)
downloadfaker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.tar.xz
faker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.zip
infra: reduce tsconfig complexity (#2102)
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json30
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"]
}