mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
.editorconfig: attempt sorting
This commit is contained in:
parent
ef0044b3b8
commit
190b4b0a0d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user