From 5706c32933b56afba7ecf68f39a42690cb8af230 Mon Sep 17 00:00:00 2001 From: Wangnov Date: Tue, 9 Sep 2025 20:33:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0.prettierignore?= =?UTF-8?q?=E8=A7=A3=E5=86=B3ESLint=E6=8F=92=E4=BB=B6=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复Cursor中ESLint无法找到prettier-plugin-tailwindcss的错误 - 让根目录prettier配置忽略web/admin-spa目录 - 保持前端和后端prettier配置的独立性 - 避免在根目录安装不必要的tailwindcss插件依赖 --- .prettierignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..859cee34 --- /dev/null +++ b/.prettierignore @@ -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 \ No newline at end of file