mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-15 22:21:20 +00:00
- Add src/**/__tests__/** to tsconfig.json exclude list - Add ignores pattern for __tests__ in eslint.config.mjs - Fix ui/src/lib/api-client.ts import path for provider-entitlement-types - Remove stale build artifacts from ui/src/lib/ and tests/mocks/
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Output
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"sourceMap": true,
|
|
|
|
// Module system
|
|
"module": "commonjs",
|
|
"target": "ES2020",
|
|
"lib": ["ES2020"],
|
|
|
|
// Module resolution
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
|
|
// Type checking (start strict)
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
|
|
// Additional checks
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Output options
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
|
|
// Interop
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
// Performance
|
|
"incremental": true,
|
|
|
|
// Runtime type declarations
|
|
"types": ["node", "bun"]
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"tests",
|
|
"lib",
|
|
"scripts",
|
|
"ui",
|
|
"src/**/__tests__/**"
|
|
]
|
|
} |