1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 16:04:14 +01:00
gitea/.editorconfig
Matthias Loibl 1ceb56fc7f Go uses ident size 8 with tabs. Nothing else.
We are using gofmt to format our code. This will emit tabs.
The standard is tabs which is 8 spaces.
2016-11-08 11:41:02 +01:00

29 lines
354 B
INI

# 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