added editorconfig setup (#1037)

This commit is contained in:
guyzmo 2017-01-15 16:44:13 +01:00 committed by Joshua Tauberer
parent 584cfe42c4
commit bd0635728c

30
.editorconfig Normal file
View file

@ -0,0 +1,30 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[Makefile]
indent_style = tabs
indent_size = 4
[Vagrantfile]
indent_size = 2
[*.rb]
indent_size = 2
[*.py]
indent_style = tabs
[*.js]
indent_size = 2