diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5eff13a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +# 匹配全部文件 +[*] +# 结尾换行符,可选"lf"、"cr"、"crlf" +end_of_line = lf +# 在文件结尾插入新行 +insert_final_newline = true +# 删除一行中的前后空格 +trim_trailing_whitespace = true +# 设置字符集 +charset = utf-8 +# 缩进风格,可选"space"、"tab" +indent_style = space +# 缩进的空格数 +indent_size = 4 +