###############################
# Git Line Endings            #
###############################

# Enforce LF line endings for all text files to prevent CRLF issues on Windows
* text=auto eol=lf

# Explicitly enforce LF for YAML files (prevents yamllint failures on Windows)
*.yaml text eol=lf
*.yml text eol=lf

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.[cC][mM][dD] text eol=crlf
*.[bB][aA][tT] text eol=crlf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
