# Auto-detect text files and normalize line endings to LF in the repo
* text=auto eol=lf

# Scripts must keep their platform-native line endings
*.sh text eol=lf
*.ps1 text eol=crlf

# Documentation and config
*.md text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.tsv text eol=lf

# Never let Git touch line endings in these
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
