mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 03:35:55 +01:00
1ceb56fc7f
We are using gofmt to format our code. This will emit tabs. The standard is tabs which is 8 spaces.
29 lines
354 B
INI
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
|