.editorconfig: attempt sorting

This commit is contained in:
Aminda Suomalainen 2023-02-13 17:03:29 +02:00
parent ef0044b3b8
commit 190b4b0a0d
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -16,12 +16,7 @@ indent_size = tab
# Opinionated affecting only display, better to not set
#tab_width =
# Windows line-endings for Windows
[*.{reg,bat,ahk}]
end_of_line = crlf
# Let's ensure *nix is lf although it comes from defaults
# above
# *nix, just in case
[*.{bash,sh}]
end_of_line = lf
@ -30,23 +25,11 @@ end_of_line = lf
[*.{markdown,md}]
trim_trailing_whitespace = false
# TAB Separated Values
[*.{tsv,tab}]
indent_style = tab
indent_size = tab
# empty last columns/fields
trim_trailing_whitespace = false
# Python https://peps.python.org/pep-0008/#indentation
[*.py]
indent_style = space
indent_size = 4
# YAML requires spaces
[*.{yaml,yml}]
indent_style = space
indent_size = 2
# Ruby
#[*.rb]
# Unofficial Ruby Style guide says two spaces, but Wikipedia says it doesn't
@ -54,3 +37,20 @@ indent_size = 2
# https://rubystyle.guide/#spaces-indentation
#indent_style = space
#indent_size = 2
# TAB Separated Values
[*.{tsv,tab}]
indent_style = tab
indent_size = tab
# empty last columns/fields
trim_trailing_whitespace = false
# Windows line-endings for Windows
[*.{reg,bat,ahk}]
end_of_line = crlf
# YAML requires spaces
[*.{yaml,yml}]
indent_style = space
indent_size = 2