mirror of
https://github.com/lobehub/lobe-chat.git
synced 2025-12-20 01:12:52 +08:00
🔨 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
This commit is contained in:
@@ -29,3 +29,20 @@ logs
|
|||||||
# misc
|
# misc
|
||||||
# add other ignore file below
|
# add other ignore file below
|
||||||
.next
|
.next
|
||||||
|
|
||||||
|
# temporary directories
|
||||||
|
tmp
|
||||||
|
temp
|
||||||
|
.temp
|
||||||
|
.local
|
||||||
|
docs/.local
|
||||||
|
|
||||||
|
# cache directories
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# AI coding tools directories
|
||||||
|
.claude
|
||||||
|
.serena
|
||||||
|
|
||||||
|
# MCP tools
|
||||||
|
/.serena/**
|
||||||
|
|||||||
39
.stylelintignore
Normal file
39
.stylelintignore
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# Stylelintignore for LobeHub
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# ci
|
||||||
|
coverage
|
||||||
|
.coverage
|
||||||
|
|
||||||
|
# production
|
||||||
|
dist
|
||||||
|
es
|
||||||
|
lib
|
||||||
|
logs
|
||||||
|
|
||||||
|
# framework specific
|
||||||
|
.next
|
||||||
|
.umi
|
||||||
|
.umi-production
|
||||||
|
.umi-test
|
||||||
|
.dumi/tmp*
|
||||||
|
|
||||||
|
# temporary directories
|
||||||
|
tmp
|
||||||
|
temp
|
||||||
|
.temp
|
||||||
|
.local
|
||||||
|
docs/.local
|
||||||
|
|
||||||
|
# cache directories
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# AI coding tools directories
|
||||||
|
.claude
|
||||||
|
.serena
|
||||||
|
|
||||||
|
# MCP tools
|
||||||
|
/.serena/**
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "public/sw.js", "apps/desktop"],
|
"exclude": ["node_modules", "public/sw.js", "apps/desktop", "tmp", "temp", ".temp"],
|
||||||
"include": [
|
"include": [
|
||||||
"**/*.d.ts",
|
"**/*.d.ts",
|
||||||
"**/*.ts",
|
"**/*.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user