mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
feat: 添加.prettierignore解决ESLint插件冲突
- 修复Cursor中ESLint无法找到prettier-plugin-tailwindcss的错误 - 让根目录prettier配置忽略web/admin-spa目录 - 保持前端和后端prettier配置的独立性 - 避免在根目录安装不必要的tailwindcss插件依赖
This commit is contained in:
18
.prettierignore
Normal file
18
.prettierignore
Normal file
@@ -0,0 +1,18 @@
|
||||
# Ignore frontend directory as it has its own prettier config and plugins
|
||||
web/admin-spa/
|
||||
|
||||
# Ignore node_modules
|
||||
node_modules/
|
||||
|
||||
# Ignore build outputs
|
||||
dist/
|
||||
build/
|
||||
coverage/
|
||||
|
||||
# Ignore logs
|
||||
logs/
|
||||
*.log
|
||||
|
||||
# Ignore temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
Reference in New Issue
Block a user