41 lines · 1.3 KB · JSON
RawDownload
{  "compilerOptions": {    "target": "ES2022",    "useDefineForClassFields": true,    "lib": ["ES2022", "DOM", "DOM.Iterable"],    "module": "ESNext",    "skipLibCheck": true,     /* Bundler mode */    "moduleResolution": "bundler",    "allowImportingTsExtensions": true,    "resolveJsonModule": true,    "isolatedModules": true,    "noEmit": true,    "jsx": "react-jsx",     /* Path alias for shadcn/ui components (@/… -> src/…). */    "baseUrl": ".",    "paths": {      "@/*": ["./src/*"]    },     /* Linting */    "strict": true,    "noUnusedLocals": true,    "noUnusedParameters": true,    "noFallthroughCasesInSwitch": true  },  // `tools/` holds development-only code (the interaction benchmark's page)  // that is never a build input. It still imports app modules, so it is  // typechecked here — otherwise a rename in src/ could silently break it.  "include": ["src", "tools"],  "exclude": [    // Runs the compiler-report script through node:child_process; needs node    // types the browser-targeted app tsconfig does not load. Vitest still    // runs it, but its transform strips types without checking them, so    // nothing typechecks this file.    "src/platform/react-compiler-guard.test.ts"  ],  "references": [{ "path": "./tsconfig.node.json" }]}