# Enforce LF line endings for all text files in the repository.
# This prevents CRLF endings (written by Windows editors/tools) from
# reaching the Docker/Linux Ruby runtime, which misparses \r as a token.

* text=auto eol=lf

# Ruby source — always LF
*.rb text eol=lf

# Shell scripts — always LF (CRLF breaks shebang and bash execution)
*.sh text eol=lf

# PHP, SQL, config — always LF
*.php text eol=lf
*.sql text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
Dockerfile text eol=lf
.env* text eol=lf

# Binary files — no line-ending conversion
*.pdf binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
