From 935af4129432c9ad072a17559eda47aee752a14d Mon Sep 17 00:00:00 2001 From: syy11cn Date: Fri, 29 Oct 2021 15:11:19 +0800 Subject: [PATCH] feat: add editorconfig --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0ea4372 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# http://editorconfig.org +root = true + +[*] +#缩进风格:空格 +indent_style = space +#缩进大小2 +indent_size = 2 +#换行符lf +end_of_line = lf +#字符集utf-8 +charset = utf-8 +#是否删除行尾的空格 +trim_trailing_whitespace = true +#是否在文件的最后插入一个空行 +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = space +