lobehub/tsconfig.json
Maple Gao 79c81bb954
🔨 chore: update lint and TypeScript configs to exclude temporary directories (#8856)
- Add tmp, temp, .temp directories to .eslintignore
- Add .local, .cache, .claude, .serena directories to .eslintignore
- Create .stylelintignore with same ignore patterns
- Update tsconfig.json to exclude temporary directories from type checking
- Prevents linting and type checking of temporary and AI tool directories
2025-08-20 11:06:24 +08:00

45 lines
1.2 KiB
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"types": ["vitest/globals", "@serwist/next/typings"],
"paths": {
"@/libs/model-runtime": ["./packages/model-runtime/src/index.ts"],
"@/libs/model-runtime/*": ["./packages/model-runtime/src/*"],
"@/const/*": ["./packages/const/src/*"],
"@/types/*": ["./packages/types/src/*", "./src/types/*"],
"@/*": ["./src/*"],
"~test-utils": ["./tests/utils.tsx"]
},
"plugins": [
{
"name": "next"
}
]
},
"exclude": ["node_modules", "public/sw.js", "apps/desktop", "tmp", "temp", ".temp"],
"include": [
"**/*.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"next-env.d.ts",
"src",
"tests",
"vitest.config.ts"
]
}