style: add .editorconfig

This commit is contained in:
Felix Schröter 2022-08-01 21:21:13 +02:00
parent 67a6ed382d
commit 7776472f4e
Signed by: felschr
GPG key ID: 671E39E6744C807D

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[scripts/*]
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false