Merge pull request #16 from go-gitea/editorconfig

Added editorconfig file
This commit is contained in:
Matthias Loibl 2016-11-10 23:53:30 +01:00 committed by GitHub
commit 9fd5f90d9e

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