add .editorconfig

This commit is contained in:
Aleksandr Razumov
2019-08-08 23:19:25 +03:00
parent 827135fb7f
commit 4dc7cd2df3

24
.editorconfig Normal file
View File

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