# Default behavior: normalize text files to LF in the repo, native on checkout.
* text=auto eol=lf

# Explicit text files — always LF, even on Windows checkouts.
*.md        text eol=lf
*.yml       text eol=lf
*.yaml      text eol=lf
*.json      text eol=lf
*.sh        text eol=lf
Dockerfile  text eol=lf
LICENSE     text eol=lf
VERSION     text eol=lf

# TODO: add your language's source extensions here, e.g.
# *.go    text eol=lf
# *.ts    text eol=lf
# *.py    text eol=lf
# *.rs    text eol=lf

# Windows-only files always get CRLF.
*.bat       text eol=crlf
*.cmd       text eol=crlf
*.ps1       text eol=crlf

# Binary assets — never touched by line-ending conversion.
*.png       binary
*.jpg       binary
*.jpeg      binary
*.gif       binary
*.ico       binary
*.svg       binary
*.pdf       binary

# Hide generated / vendored content from default diffs.
# go.sum             linguist-generated=true
# package-lock.json  linguist-generated=true
# pnpm-lock.yaml     linguist-generated=true
# Cargo.lock         linguist-generated=true
