From f40b21c6571215fa7f5db4a268629bbe711ebdb8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 9 Apr 2022 14:33:57 +0200 Subject: [PATCH] Add root-editorconfig in homedir as base-specification Signed-off-by: Knut Ahlers --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..985eaa8 --- /dev/null +++ b/.editorconfig @@ -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