From 628c7c82626dc4c6d87430b5ef8576d8f3da133f Mon Sep 17 00:00:00 2001 From: flokoe Date: Tue, 4 Jul 2023 14:27:29 +0200 Subject: [PATCH] Add editorconfig file --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2d23832 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# https://editorconfig.org/ + + +root = true + +[*] +indent_style = space +indent_size = 2 + +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 100 + +[*.md] +trim_trailing_whitespace = false + +[*.{conf,html,py}] +indent_size = 4