فهرست منبع

Merge pull request #15954 from wmcmurray/patch-editorconfig

Add a .editorconfig file to enforce coding style
Mr.doob 6 سال پیش
والد
کامیت
689b187f30
1فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  1. 15 0
      .editorconfig

+ 15 - 0
.editorconfig

@@ -0,0 +1,15 @@
+# http://editorconfig.org
+
+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