mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 23:03:39 +01:00
a285c07d5e
That is annoying on Windows, since the editor will change the file if you just open it. Git will checking as LF anyway.
27 lines
337 B
INI
27 lines
337 B
INI
# http://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
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
|