-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.base.json
29 lines (26 loc) · 1.08 KB
/
tsconfig.base.json
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
{
"compilerOptions": {
"module": "ESNext",
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
/* Bundler Mode */
"moduleResolution": "bundler",
"noEmit": true,
// "esModuleInterop": false,
// "allowImportingTsExtensions": true,
// "resolveJsonModule": true,
// "allowSyntheticDefaultImports": true,
// "isolatedModules": true, // for bundlers like vite. Setting the isolatedModules flag tells TypeScript to warn you if you write certain code that can’t be correctly interpreted by a single-file transpilation process.
/* Linting */
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,
"strictNullChecks": true,
/* Enable JavaScript Compilation */
"allowJs": true,
"checkJs": true
},
"include": ["types/*.d.ts", "**/*.ts", "**/*.mts", "**/*.cts", "**/*.tsx", "**/*.mtsx", "**/*.js", "**/*.mjs", "**/*.cjs", "**/*.jsx", "**/*.mjsx"],
"exclude": ["dist", "build", "_lintignore", "**/*-buildignore*", "**/*_buildignore*"]
}