-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
83 lines (78 loc) · 1.97 KB
/
tsconfig.json
File metadata and controls
83 lines (78 loc) · 1.97 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"compilerOptions": {
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"],
"@/components/*": ["./components/*"],
"@/lib/*": ["./lib/*"],
"@/app/*": ["./app/*"],
"@/features/*": ["./features/*"],
"@/types/*": ["./lib/types/*"],
"@/utils/*": ["./lib/utils/*"],
"@/hooks/*": ["./lib/hooks/*"],
"@/stores/*": ["./lib/stores/*"],
"@/query/*": ["./lib/query/*"]
},
"target": "ES2020",
// Enhanced strict mode options (relaxed for gradual adoption)
"noImplicitAny": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitOverride": false,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": false,
"noImplicitUseStrict": false,
"noPropertyAccessFromIndexSignature": false,
// Enhanced checking (relaxed for gradual adoption)
"exactOptionalPropertyTypes": false,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// Import/Export (relaxed for existing codebase)
"verbatimModuleSyntax": false,
"allowImportingTsExtensions": false,
"allowArbitraryExtensions": false,
// Performance
"skipDefaultLibCheck": true,
"disableSourceOfProjectReferenceRedirect": true,
// Additional checks
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"lib/**/*.ts"
],
"exclude": [
"node_modules",
".next",
"dist",
"build"
],
"ts-node": {
"esm": true
}
}