feat: 添加.prettierignore解决ESLint插件冲突

- 修复Cursor中ESLint无法找到prettier-plugin-tailwindcss的错误
- 让根目录prettier配置忽略web/admin-spa目录
- 保持前端和后端prettier配置的独立性
- 避免在根目录安装不必要的tailwindcss插件依赖
This commit is contained in:
Wangnov
2025-09-09 20:33:55 +08:00
parent 2de5191c05
commit 5706c32933

18
.prettierignore Normal file
View 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