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

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