generated from remix-run/indie-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
81 lines (78 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// {
// "include": [
// "**/*.ts",
// "**/*.tsx",
// "**/.server/**/*.ts",
// "**/.server/**/*.tsx",
// "**/.client/**/*.ts",
// "**/.client/**/*.tsx",
// "vite.config.js",
// "vitest.config.js",
// "app/gtfs/index.ts",
// "app/gtfs/gtfs.ts"
// ],
// "compilerOptions": {
// "lib": ["DOM", "DOM.Iterable", "ES2022"],
// "types": ["@remix-run/node", "vite/client"],
// "isolatedModules": true,
// "esModuleInterop": true,
// "jsx": "react-jsx",
// "module": "NodeNext",
// "moduleResolution": "NodeNext",
// "resolveJsonModule": true,
// "target": "ES2022",
// "strict": true,
// "allowJs": true,
// "skipLibCheck": true,
// "forceConsistentCasingInFileNames": true,
// "baseUrl": ".",
// "paths": {
// "~/*": ["./app/*"]
// },
//
// // Vite takes care of building everything, not tsc.
// "noEmit": true
// }
// }
{
"include": [
"**/*.ts",
"**/*.tsx",
"**/.server/**/*.ts",
"**/.server/**/*.tsx",
"**/.client/**/*.ts",
"**/.client/**/*.tsx",
"vite.config.js",
"vitest.config.js",
"app/gtfs/index.ts",
"app/gtfs/gtfs.ts",
"postcss.config.mjs"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"]
},
"types": ["@remix-run/node", "vite/client"],
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "Bundler",
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}