mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 09:37:28 +00:00
- 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
45 lines
1.2 KiB
JSON
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"
|
|
]
|
|
}
|