forked from jwplayer/ott-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
54 lines (54 loc) · 1.18 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"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": {
"#components/*": [
"./src/components/*"
],
"#src/*": [
"./src/*"
],
"#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"
]
}
}