From e5dcbba3ec36e26ebfd0c1cd8df7560ab2b60fc4 Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Tue, 19 Sep 2023 18:22:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20add=20`.editorconfig`=20=F0=9F=92=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6bd9c96 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +tab_width = 2 +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true + +ij_markdown_wrap_text_if_long = false + +[*.py] +indent_size = 4 + +[*.{md,mkd,markdown}] +trim_trailing_whitespace = false + +[*.xml] +indent_style = tab