浏览代码

Add a .editorconfig file to enforce coding style

William McMurray 6 年之前
父节点
当前提交
61abd4263c
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      .editorconfig

+ 13 - 0
.editorconfig

@@ -0,0 +1,13 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{js,ts,html}]
+charset = utf-8
+indent_style = tab
+indent_size = 2
+
+[*.{js,ts}]
+trim_trailing_whitespace = true