mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 23:09:28 +00: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.
28 lines
337 B
INI
28 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
|