Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔨 chore: update lint and TypeScript configs to exclude temporary directories (#8856)

Maple Gao79c81bb9549e
diff --git a/.eslintignore b/.eslintignore
index 3c5530b607d..8ed76bef28a 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -29,3 +29,20 @@ logs
# misc
# add other ignore file below
.next
+
+# temporary directories
+tmp
+temp
+.temp
+.local
+docs/.local
+
+# cache directories
+.cache
+
+# AI coding tools directories
+.claude
+.serena
+
+# MCP tools
+/.serena/**
diff --git a/.stylelintignore b/.stylelintignore
new file mode 100644
index 00000000000..e1ac30fba16
--- /dev/null
+++ b/.stylelintignore
@@ -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/**
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index cad956b4863..211925d02e2 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -31,7 +31,7 @@
}
]
},
- "exclude": ["node_modules", "public/sw.js", "apps/desktop"],
+ "exclude": ["node_modules", "public/sw.js", "apps/desktop", "tmp", "temp", ".temp"],
"include": [
"**/*.d.ts",
"**/*.ts",