Added editorconfig file

This commit is contained in:
Thomas Boerger 2016-11-10 22:02:26 +01:00
parent a810eaf149
commit d21785e580
No known key found for this signature in database
GPG key ID: 5A388F55283960B6

28
.editorconfig Normal file
View file

@ -0,0 +1,28 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.go]
indent_style = tab
indent_size = 8
[*.tmpl]
indent_style = tab
indent_size = 2
[Makefile]
indent_style = tab
[*.{less,yml}]
indent_style = space
indent_size = 2
[*.js]
indent_style = space
indent_size = 4