Browse Source

Add editorconfig file

Alec Nikolas Reiter 7 years ago
parent
commit
2f65fa3e3d
1 changed files with 23 additions and 0 deletions
  1. 23 0
      .editorconfig

+ 23 - 0
.editorconfig

@@ -0,0 +1,23 @@
+root = true
+
+[*]
+indent_style = space
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{js,py,html,css,less,yml,yaml,json}]
+charset = utf-8
+
+[*.py]
+indent_size = 4
+insert_final_newline = false
+
+[Makefile]
+indent_style = tab
+
+[*.{json,yaml,yml}]
+indent_size = 2
+
+[*.{ini,html}]
+indent_size = 4