-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (34 loc) · 1001 Bytes
/
Copy pathtsconfig.json
File metadata and controls
38 lines (34 loc) · 1001 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
36
37
38
{
"compileOnSave": true,
"compilerOptions": {
// Language + runtime environment
"rootDir": ".",
"target": "esnext",
"lib": ["esnext"],
// Modules + resolution
"module": "NodeNext",
"moduleResolution": "nodenext",
"resolveJsonModule": true,
// Emit behavior (even if `noEmit` is true, these are useful for tooling expectations)
"noEmit": true,
"declaration": true,
"sourceMap": true,
// Strictness + type safety
"strict": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"allowUnreachableCode": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"exactOptionalPropertyTypes": false,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": true,
"skipLibCheck": true,
// Types
"types": ["node"]
},
"include": ["lib/**/*", "tests/**/*", "eslint.config.mjs", "vitest.config.ts", "sample/**/*", "scripts/**/*"],
"exclude": ["node_modules"]
}