# Normalize line endings across platforms.
#
# Default: text files use LF in the repo, native on checkout.
# Shell scripts MUST stay LF even on Windows (Git Bash needs LF shebangs).
# .bat files use CRLF (Windows expects it).
# Stata .do files: LF (Stata accepts both, but LF avoids spurious diffs).

* text=auto eol=lf

*.sh   text eol=lf
*.bat  text eol=crlf
*.cmd  text eol=crlf
*.ps1  text eol=crlf

*.do   text eol=lf
*.py   text eol=lf
*.md   text eol=lf
*.qmd  text eol=lf
*.yml  text eol=lf
*.yaml text eol=lf
*.bib  text eol=lf
*.tex  text eol=lf
*.csv  text eol=lf
*.json text eol=lf

# Binary files: never normalize.
*.png  binary
*.jpg  binary
*.pdf  binary
*.svg  binary
*.dta  binary
*.gph  binary
*.xlsx binary
*.xls  binary
*.parquet binary
*.feather binary
