# Normalize all text files to use LF line endings in the repo
# Git will convert to CRLF on checkout if core.autocrlf=true on Windows
* text=auto

# Explicitly set line endings for specific file types (optional, more control)
*.sh text eol=lf
*.py text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.css text eol=lf
*.html text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf

# Treat common binary formats as binary (no line-ending normalization)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.bmp binary
*.ico binary
*.svg binary
*.pdf binary
*.mp4 binary
*.mp3 binary
*.zip binary
*.gz binary
*.tar binary
*.woff binary
*.woff2 binary
*.ttf binary