diff --git a/.editorconfig b/.editorconfig index 6537ca4677ee97ddcb112f22d086b92721fd578c..df52c328e60323f9b115db59ade40c04fed21750 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,11 +1,15 @@ root = true [*] +; 设定文件编码 charset = utf-8 end_of_line = lf insert_final_newline = true +; 使用空格来做缩进 indent_style = space +; 缩进长度为两个空格 indent_size = 4 +; 移除文件尾部多余的空格 trim_trailing_whitespace = true [*.md]