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 <[email protected]>
This commit is contained in:
pkgsp50777_楊舒諠
2026-10-06 19:01:04 +08:00
co-authored by Claude Opus 5.5
parent bbd81f6137
commit ffc3d49c74
+5
View File
@@ -0,0 +1,5 @@
# 統一使用 LF,避免 Windows core.autocrlf 造成 Prettier 檢查失敗
* text=auto eol=lf
*.ico binary
*.png binary
*.docx binary