Selaa lähdekoodia

Add editor config to encourage consistent code formatting

George Cushen 9 vuotta sitten
vanhempi
commit
5d0e59ddd1
1 muutettua tiedostoa jossa 17 lisäystä ja 0 poistoa
  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