-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathtsconfig.json
More file actions
47 lines (47 loc) · 1.69 KB
/
tsconfig.json
File metadata and controls
47 lines (47 loc) · 1.69 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
{
"compilerOptions": {
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
"incremental": true,
// This prevents checking of .d.ts files. We would like to check the ones we write
// but we leave this off because of the errors in deps we don't control.
"skipLibCheck": true,
"allowJs": true,
"checkJs": true,
// Strictness audit 2026-02-24 by scripts/maintenance/typecheck-flag-report.mjs
// useUnknownInCatchVariables 128 errors
// exactOptionalPropertyTypes 221 errors
// noUnusedLocals 590 errors
// noPropertyAccessFromIndexSignature 983 errors
// noUncheckedIndexedAccess 1584 errors
// strictFunctionTypes 1717 errors
// noImplicitAny 8869 errors
// strict 10594 errors
"strict": false,
"strictNullChecks": true,
"noImplicitThis": true,
"alwaysStrict": true,
"strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noUnusedParameters": true,
"strictBindCallApply": true,
"noImplicitReturns": true,
"noUncheckedSideEffectImports": true,
"erasableSyntaxOnly": true,
"verbatimModuleSyntax": true,
"types": ["node"],
"typeRoots": ["./node_modules/@types"],
// .ts and rewriting relative paths allow us to include in bundles
// files that are JS executable (with TS chars blanked) but end in .ts
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"noEmit": true
},
"include": [
"eslint.config.mjs",
"dist",
"scripts",
]
}