chore: add .gitattributes and normalize line endings to LF

This commit is contained in:
Bas van Rossem
2026-06-17 13:20:09 +02:00
parent 54d21f300c
commit 74e697054a

18
.gitattributes vendored Normal file
View File

@@ -0,0 +1,18 @@
# Normalize all text files to LF in the repository and on checkout.
# Stops the "LF will be replaced by CRLF" churn on Windows.
* text=auto eol=lf
# Binary assets — never normalize or diff as text.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.wasm binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
*.tgz binary
*.pdf binary