mirror of
https://github.com/go-gitea/gitea
synced 2024-11-22 04:31:19 +01:00
1ceb56fc7f
We are using gofmt to format our code. This will emit tabs. The standard is tabs which is 8 spaces.
28 lines
354 B
INI
28 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
|