chore: enforce LF line endings via gitattributes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Normalize all text files to LF in the repository, regardless of the
|
||||
# contributor's OS or git config. Prevents whole-file CRLF commits from
|
||||
# Windows environments.
|
||||
* text=auto eol=lf
|
||||
|
||||
# Windows scripts must keep CRLF on checkout.
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
*.ps1 text eol=crlf
|
||||
|
||||
# Binary assets — never touch line endings.
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.icns binary
|
||||
*.car binary
|
||||
*.jar binary
|
||||
*.zip binary
|
||||
*.ttf binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
*.pdf binary
|
||||
Reference in New Issue
Block a user