# Always check out source files with LF endings, regardless of the user's
# core.autocrlf setting. Without this, Windows clones with core.autocrlf=true
# (the Git-for-Windows default) treat every text file as "modified" because
# Git's stored version is LF but the working copy is CRLF.

* text=auto eol=lf

# Explicit text files (belt-and-suspenders).
*.rs       text eol=lf
*.toml     text eol=lf
*.json     text eol=lf
*.ts       text eol=lf
*.tsx      text eol=lf
*.js       text eol=lf
*.svelte   text eol=lf
*.css      text eol=lf
*.html     text eol=lf
*.md       text eol=lf
*.yml      text eol=lf
*.yaml     text eol=lf

# Shell + Windows scripts keep their native endings.
*.sh       text eol=lf
*.ps1      text eol=crlf
*.bat      text eol=crlf
*.cmd      text eol=crlf

# Binaries — never touch these.
*.png      binary
*.ico      binary
*.icns     binary
*.jpg      binary
*.jpeg     binary
*.gif      binary
*.exe      binary
*.dll      binary
*.so       binary
*.dylib    binary
*.woff     binary
*.woff2    binary
*.ttf      binary
*.otf      binary
