chore: add .gitattributes to normalize line endings (LF)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user