Add .editorconfig rules and fix some indents (#462)

This commit is contained in:
Kai Ren 2017-01-10 00:53:09 +02:00 committed by Thomas VIAL
parent a7670ac5c1
commit 414413a5c9
2 changed files with 37 additions and 5 deletions

32
.editorconfig Normal file
View file

@ -0,0 +1,32 @@
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
[*.{yaml,yml,yml.dist,yml.tmpl}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
indent_size = 4
[Dockerfile]
indent_style = space
indent_size = 2
[*.{sh,bats}]
indent_style = space
indent_size = 2
[target/start-mailserver.sh]
indent_style = tab
indent_size = 4