# Force LF line endings for text files across all platforms # This prevents Git warnings about CRLF conversion on Windows # Default: All text files should use LF * text=auto eol=lf # Explicitly set LF for key file types *.md text eol=lf *.json text eol=lf *.yaml text eol=lf *.yml text eol=lf *.sh text eol=lf *.ts text eol=lf *.js text eol=lf *.tsx text eol=lf *.jsx text eol=lf *.css text eol=lf *.html text eol=lf *.txt text eol=lf # Windows-specific files should use CRLF *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Binary files should not be modified *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.zip binary *.tar.gz binary *.tgz binary # Append-only task ledger: keep every line from both sides on a merge **/ledger.jsonl merge=union