editorconfig: Add initial .editorconfig

This ensures our codestyle is consistent throughout

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
Olliver Schinagl 2022-11-10 16:09:12 +01:00
parent 040f235cc3
commit 4c0beb9d88
No known key found for this signature in database
GPG Key ID: 96E1A3A6C9044763

24
.editorconfig Normal file
View File

@ -0,0 +1,24 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
curly_bracket_next_line = true
end_of_line = lf
indent_size = tab
indent_style = tab
insert_final_newline = true
shell_variant = posix
space_redirects = true
spaces_around_operators = true
trim_trailing_whitespace = true
[{*.py,Containerfile*,Dockerfile*,meson.build}]
indent_size = 4
indent_style = space
[*.{yaml,yml}]
indent_size = 2
indent_style = space