-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (34 loc) · 1.13 KB
/
tsconfig.json
File metadata and controls
38 lines (34 loc) · 1.13 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
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM"],
"jsx": "react-jsx",
// Strict type safety
"strict": true,
// exactOptionalPropertyTypes is intentionally omitted — @convex-dev/auth and
// Convex's generated types use T | undefined in optional positions which is
// incompatible with this flag. noUncheckedIndexedAccess provides the safety
// benefit without breaking third-party types.
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
// Dead code & correctness
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"paths": {
"@/*": ["./src/*"],
"convex/*": ["./convex/*"]
}
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist", ".output", ".vinxi", ".tanstack"]
}