.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

View File

@ -5,7 +5,9 @@ root = true
# Defaults # Defaults
[*] [*]
# Future: https://github.com/editorconfig/editorconfig/issues/89 # 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 end_of_line = lf
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
@ -18,6 +20,7 @@ indent_size = tab
# *nix, just in case # *nix, just in case
[*.{bash,sh}] [*.{bash,sh}]
# .gitattributes !
end_of_line = lf end_of_line = lf
# Limnoria/Supybot config files use trailing spaces for empty config files, # Limnoria/Supybot config files use trailing spaces for empty config files,
@ -67,6 +70,7 @@ trim_trailing_whitespace = false
# Windows line-endings for Windows # Windows line-endings for Windows
[*.{reg,bat,ahk}] [*.{reg,bat,ahk}]
# Remember the .gitattributes !
end_of_line = crlf end_of_line = crlf
# YAML requires spaces. The GitHub citation files look YAML to me. # YAML requires spaces. The GitHub citation files look YAML to me.