-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
47 lines (43 loc) · 1.14 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
{
"compilerOptions": {
// == Paths
"baseUrl": ".",
"paths": {
"~/*": ["app/*"]
},
// == Language
"module": "ES2022",
"target": "ES2022",
"types": ["node", "vite/client", "unplugin-icons/types/react"],
"esModuleInterop": true,
"skipDefaultLibCheck": true /* Skip type checking .d.ts files that are included with TypeScript. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
// == Mode
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"noEmit": true,
// == Linting
"strict": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
// == Plugins
"plugins": [
{ "name": "typescript-plugin-css-modules" },
{ "name": "vite-plugin-iso-import" }
]
},
"include": [
"app/**/*.ts",
"app/**/*.tsx",
"app/**/*.module.css",
"typings/**/*.d.ts"
],
"exclude": ["app/workers/**/*.ts", "typings/service-worker.d.ts"],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "./tsconfig.service-worker.json" }
]
}