.{editorconfig,gitattributes}: explicitly use lf line endings

This commit is contained in:
Aminda Suomalainen ⚧ 2023-05-09 11:16:46 +03:00
parent faa9880664
commit bff730124d
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 7 deletions

View File

@ -1,15 +1,13 @@
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = tab
[*.{bash,sh}]
end_of_line = lf
[*.{markdown,md}]
trim_trailing_whitespace = false

5
.gitattributes vendored
View File

@ -1,8 +1,5 @@
# Line normalisation, GitHub language detection for everything
* text=auto linguist-detectable
# Checkout bash files with lf line endings regardless of platform
*.bash text eol=lf
* text=auto linguist-detectable eol=lf
# Git Large File Storage
*.png filter=lfs diff=lfs merge=lfs -text