Enforce LF endings for shell scripts

This commit is contained in:
Stu Leak 2025-12-13 21:30:17 -05:00
parent 50237f741a
commit 2ff6726d1b

18
.gitattributes vendored Normal file
View File

@ -0,0 +1,18 @@
# Ensure shell scripts always use LF line endings
*.sh text eol=lf
# Go files should use LF
*.go text eol=lf
# Markdown files should use LF
*.md text eol=lf
# YAML files should use LF
*.yml text eol=lf
*.yaml text eol=lf
# JSON files should use LF
*.json text eol=lf
# Default behavior for text files
* text=auto