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:
co-authored by
Claude Opus 5.5
parent
bbd81f6137
commit
ffc3d49c74
@@ -0,0 +1,5 @@
|
||||
# 統一使用 LF,避免 Windows core.autocrlf 造成 Prettier 檢查失敗
|
||||
* text=auto eol=lf
|
||||
*.ico binary
|
||||
*.png binary
|
||||
*.docx binary
|
||||
Reference in New Issue
Block a user