added editorconfig

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2016-10-18 09:22:12 -02:00
parent 24582e8153
commit 962f347923
No known key found for this signature in database
GPG key ID: E61E2F7DC14AB940
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -9,6 +9,7 @@
.DS_Store .DS_Store
# a .bashrc may be added to customize the build environment # a .bashrc may be added to customize the build environment
.bashrc .bashrc
.editorconfig
.gopath/ .gopath/
.go-pkg-cache/ .go-pkg-cache/
autogen/ autogen/

13
contrib/editorconfig Normal file
View file

@ -0,0 +1,13 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
[*.md]
indent_size = 2
indent_style = space