chore: add .gitattributes to normalize line endings (LF)

This commit is contained in:
cesnimda
2026-06-30 16:09:52 +02:00
parent 29a4aa2212
commit a387d31f62
+28
View File
@@ -0,0 +1,28 @@
# Normalize line endings: store everything as LF in the repo.
* text=auto eol=lf
# Source files — always LF.
*.cs text eol=lf
*.csproj text eol=lf
*.sln text eol=lf
*.props text eol=lf
*.json text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.css text eol=lf
*.html text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.sh text eol=lf
Dockerfile text eol=lf
*.conf text eol=lf
# Binary files — never touch.
*.png binary
*.jpg binary
*.ico binary
*.pdf binary
*.pfx binary