Add editor config to encourage consistent code formatting

This commit is contained in:
George Cushen 2016-05-24 15:19:48 +01:00
commit 5d0e59ddd1

17
.editorconfig Normal file
View file

@ -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