Add root-editorconfig in homedir as base-specification

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-04-09 14:33:57 +02:00
parent 92336a20f8
commit f40b21c657
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

26
.editorconfig Normal file
View file

@ -0,0 +1,26 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.go]
indent_size = 1
indent_style = tab
[*.md]
trim_trailing_whitespace = false
[*.py]
# https://google.github.io/styleguide/pyguide.html#s3.4-indentation
indent_size = 4
indent_style = space
[*.sh]
# https://google.github.io/styleguide/shellguide.html#s5.1-indentation
indent_size = 2
indent_style = space