mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 05:52:10 +00: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
|