From 4c0beb9d88ac3c7a817bfafb5b8899e404b163ef Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Thu, 10 Nov 2022 16:09:12 +0100 Subject: [PATCH] editorconfig: Add initial .editorconfig This ensures our codestyle is consistent throughout Signed-off-by: Olliver Schinagl --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0d977ee --- /dev/null +++ b/.editorconfig @@ -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