From a27e40b6d8037b1bb3ae6de821086631d5fbdad0 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 8 Sep 2024 12:53:29 +0200 Subject: [PATCH] adds .editorconfig file to control whitespace/tab indent --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..abc6ad4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.sh] +indent_style = tab +indent_size = 8 +