-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
32 lines (32 loc) · 1.06 KB
/
tsconfig.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
30
31
32
{
"include": ["src", "types", "scripts", "test", "vite.config.ts", "vitest.config.ts", "vitest.setup.ts"],
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"jsx": "preserve",
"baseUrl": "./",
/* paths - import rewriting/resolving */
"paths": {
"#src/*": ["./src/*"],
"#components/*": ["./src/components/*"],
"#test/*": ["./test/*"],
"#types/*": ["./types/*"]
},
/* noEmit - Vite builds (emits) files, not tsc. */
"noEmit": true,
/* Additional Options */
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"importsNotUsedAsValues": "error",
// Ensure unused code is cleaned up
"noUnusedParameters": true,
"noUnusedLocals": true,
// Fallthrough must be documented
"noFallthroughCasesInSwitch": true,
"types": ["vi-fetch/matchers", "vitest/globals", "@testing-library/jest-dom", "@types/jwplayer", "vite-plugin-pwa/client"]
}
}