-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
35 lines (30 loc) · 923 Bytes
/
tsconfig.base.json
File metadata and controls
35 lines (30 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"compilerOptions": {
// --- Core JavaScript & Module Settings ---
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ESNext"],
"resolveJsonModule": true,
// --- Universal Strictness Rules ---
"strict": true,
"noEmitOnError": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnreachableCode": false,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true,
// --- Universal Interop & Compatibility Settings ---
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"skipLibCheck": true,
"resolvePackageJsonImports": true,
// --- Modern Module Behavior ---
"verbatimModuleSyntax": true,
"allowImportingTsExtensions": false,
"moduleDetection": "force"
}
}