Преглед на файлове

增加代码风格配置

ChenYL преди 2 години
родител
ревизия
618030860d
променени са 1 файла, в които са добавени 22 реда и са изтрити 0 реда
  1. 22 0
      .editorconfig

+ 22 - 0
.editorconfig

@@ -0,0 +1,22 @@
+# 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 = tab