From 60f6f1fb1a6901a1f6e907cac64a29cb8922fa4b Mon Sep 17 00:00:00 2001 From: Maofeng Date: Sun, 20 Sep 2026 15:53:07 +0800 Subject: [PATCH] chore(repo): add shared editor defaults --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1bfc263 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true +max_line_length = 120 +tab_width = 2 + +[*.{json,md}] +insert_final_newline = false + +[*.md] +indent_size = 4