-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
56 lines (52 loc) · 1.46 KB
/
Copy pathtsconfig.base.json
File metadata and controls
56 lines (52 loc) · 1.46 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// Target ES2024 for modern JavaScript
"target": "ES2024",
"lib": ["ES2024"],
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
// Strict type checking - all enabled
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"alwaysStrict": true,
// Additional strict checks
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": false,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": false,
// Modern features
"verbatimModuleSyntax": false,
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
// Emit settings (override in projects that emit)
"noEmit": true,
"declaration": false,
"declarationMap": false,
"sourceMap": true
},
"exclude": [
"node_modules",
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/cdk.out/**",
"**/.aws-sam/**",
"**/.react-router/**"
]
}