Enforce LF endings for shell scripts
This commit is contained in:
parent
50237f741a
commit
2ff6726d1b
18
.gitattributes
vendored
Normal file
18
.gitattributes
vendored
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user