From ffc3d49c741b3e2bc5a703b13ea04461d030408a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?pkgsp50777=5F=E6=A5=8A=E8=88=92=E8=AB=A0?= Date: Tue, 6 Oct 2026 19:01:04 +0800 Subject: [PATCH] Add .gitattributes to enforce LF line endings core.autocrlf=true checked files out as CRLF, which made Prettier's format check fail on Windows. The index was already LF, so no file contents change. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..70b6ef4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# 統一使用 LF,避免 Windows core.autocrlf 造成 Prettier 檢查失敗 +* text=auto eol=lf +*.ico binary +*.png binary +*.docx binary