# Normalize line endings to LF on check-in, LF on checkout (Unix-style)
* text=auto eol=lf

# Shell scripts MUST be LF — CRLF breaks shebangs on Linux
*.sh text eol=lf

# JSON and config files
*.json text eol=lf
*.jsonc text eol=lf

# TypeScript / JavaScript
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf

# CSS / HTML / Markdown
*.css text eol=lf
*.html text eol=lf
*.md text eol=lf

# Binary files — never touch line endings
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webm binary
*.mp4 binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.pdf binary

