.editorconfig: fix commentary on end_of_line, repeat after me .gitattributes

This commit is contained in:
Aminda Suomalainen 2023-04-04 09:18:58 +03:00
parent e669ab9817
commit 0ec8afbde0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,9 @@ root = true
# Defaults
[*]
# Future: https://github.com/editorconfig/editorconfig/issues/89
# Linux line endings, this repo/file is unlikely to be used in Windows
# Remember to always .gitattributes. lf line-endings are prettier default and
# required by doctoc, so enabling either of those breaks on Windows unless lf
# is specified here and in .gitattributes
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
@ -18,6 +20,7 @@ indent_size = tab
# *nix, just in case
[*.{bash,sh}]
# .gitattributes !
end_of_line = lf
# Limnoria/Supybot config files use trailing spaces for empty config files,
@ -67,6 +70,7 @@ trim_trailing_whitespace = false
# Windows line-endings for Windows
[*.{reg,bat,ahk}]
# Remember the .gitattributes !
end_of_line = crlf
# YAML requires spaces. The GitHub citation files look YAML to me.