Browse Source

Add editor config to encourage consistent code formatting

George Cushen 9 năm trước cách đây
mục cha
commit
5d0e59ddd1
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      .editorconfig

+ 17 - 0
.editorconfig

@@ -0,0 +1,17 @@
+# editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.{html,css}]
+indent_size = 4