Pārlūkot izejas kodu

Add editor config to encourage consistent code formatting

George Cushen 9 gadi atpakaļ
vecāks
revīzija
5d0e59ddd1
1 mainītis faili ar 17 papildinājumiem un 0 dzēšanām
  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