Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

tsconfig.json

41 lines1.0 KB

1{
2 "include": [
3 "**/*.ts",
4 "**/*.tsx",
5 "eslint.config.js",
6 "prettier.config.js",
7 "vite.config.js"
8 ],
9 // Examples are separate TS projects (each registers its own TanStack
10 // router via the global Register interface, which must not merge with
11 // the root app's). `bun run typecheck` checks them via -p.
12 "exclude": ["node_modules", "dist", "examples"],
13​
14 "compilerOptions": {
15 "target": "ES2022",
16 "jsx": "react-jsx",
17 "module": "ESNext",
18 "paths": {
19 "#/*": ["./src/*"],
20 "@/*": ["./src/*"]
21 },
22 "lib": ["ES2022", "DOM", "DOM.Iterable"],
23 "types": ["vite/client"],
24​
25 /* Bundler mode */
26 "moduleResolution": "bundler",
27 "allowImportingTsExtensions": true,
28 "verbatimModuleSyntax": true,
29 "noEmit": true,
30​
31 /* Linting */
32 "skipLibCheck": true,
33 "strict": true,
34 "noUncheckedIndexedAccess": true,
35 "noImplicitOverride": true,
36 "noUnusedLocals": true,
37 "noUnusedParameters": true,
38 "noFallthroughCasesInSwitch": true,
39 "noUncheckedSideEffectImports": true
40 }