The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 03:37 UTC
| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/tsconfig", |
| 3 | "include": [], |
| 4 | "compilerOptions": { |
| 5 | "outDir": "${configDir}/dist", |
| 6 | "rootDir": "${configDir}/src", |
| 7 | // Use incremental builds with project references. |
| 8 | "incremental": true, |
| 9 | "composite": true, |
| 10 | // Target modern JavaScript (ES2022+) whilst staying closely compatible with the Node.js module system. |
| 11 | "target": "ES2022", |
| 12 | "module": "NodeNext", |
| 13 | "moduleDetection": "force", // Treat every non-declaration file as a module. |
| 14 | "verbatimModuleSyntax": true, // Only transform/eliminate type-only import/export statements. |
| 15 | "allowJs": false, // If you touch this, a puppy dies. |
| 16 | "rewriteRelativeImportExtensions": true, // Rewrite `.ts` imports to `.js` at build time. |
| 17 | "erasableSyntaxOnly": true, // Allows to run directly with node and type removal |
| 18 | // Emit source- & declaration maps. |
| 19 | "declarationMap": true, |
| 20 | "sourceMap": true, |
| 21 | // Opt-in to stricter type checking and correctness guard rails. The more the merrier. |
| 22 | "strict": true, |
| 23 | "exactOptionalPropertyTypes": true, |
| 24 | "noUnusedLocals": true, |
| 25 | "noUnusedParameters": true, |
| 26 | "noImplicitOverride": true, |
| 27 | "noFallthroughCasesInSwitch": true, |
| 28 | // Miscellaneoaus |
| 29 | "stripInternal": false, // tests require `false` because project references type-check against those declarations. |
| 30 | "skipLibCheck": true, // Skip type checking of third party libraries. |
| 31 | "noErrorTruncation": true, // Do not truncate error messages. |
| 32 | "types": [], // Disable automatic loading of `@types/*` packages. |
| 33 | "jsx": "react-jsx", |
| 34 | "plugins": [{ |
| 35 | "name": "@effect/language-service", |
| 36 | "effectFn": ["untraced"], |
| 37 | "namespaceImportPackages": ["effect", "@effect/*"], |
| 38 | "diagnosticSeverity": { |
| 39 | "globalErrorInEffectFailure": "off", // TODO: Check if we should fix the warnings this reports |
| 40 | "unstableApiUsage": "off", |
| 41 | "experimentalApiUsage": "off", |
| 42 | "effectFnOpportunity": "error" |
| 43 | }, |
| 44 | "includeSuggestionsInTsc": false, |
| 45 | "ignoreEffectWarningsInTscExitCode": true, |
| 46 | "ignoreEffectErrorsInTscExitCode": false, |
| 47 | "overrides": [ |
| 48 | { |
| 49 | "exclude": [ |
| 50 | "**/internal/**/*", |
| 51 | "**/index.ts", |
| 52 | "**/index.tsx", |
| 53 | "**/index.mts", |
| 54 | "**/index.cts", |
| 55 | "**/ai-docs/**/*", |
| 56 | "**/test/**/*", |
| 57 | "**/Generated.ts", |
| 58 | "**/packages/tools/**/*" |
| 59 | ], |
| 60 | "options": { |
| 61 | "diagnosticSeverity": { |
| 62 | "apiStabilityLeak": "error" |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | ] |
| 67 | }] |
| 68 | } |
| 69 | } |