mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 04:29:29 +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
|
# Opinionated affecting only display, better to not set
|
||||||
#tab_width =
|
#tab_width =
|
||||||
|
|
||||||
# Windows line-endings for Windows
|
# *nix, just in case
|
||||||
[*.{reg,bat,ahk}]
|
|
||||||
end_of_line = crlf
|
|
||||||
|
|
||||||
# Let's ensure *nix is lf although it comes from defaults
|
|
||||||
# above
|
|
||||||
[*.{bash,sh}]
|
[*.{bash,sh}]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
|
||||||
@ -30,23 +25,11 @@ end_of_line = lf
|
|||||||
[*.{markdown,md}]
|
[*.{markdown,md}]
|
||||||
trim_trailing_whitespace = false
|
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
|
# Python https://peps.python.org/pep-0008/#indentation
|
||||||
[*.py]
|
[*.py]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
# YAML requires spaces
|
|
||||||
[*.{yaml,yml}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
#[*.rb]
|
#[*.rb]
|
||||||
# Unofficial Ruby Style guide says two spaces, but Wikipedia says it doesn't
|
# 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
|
# https://rubystyle.guide/#spaces-indentation
|
||||||
#indent_style = space
|
#indent_style = space
|
||||||
#indent_size = 2
|
#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