mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 20:12:43 +01:00
1718a9591c
This will ensure our repo is always checked out with LF line endings which should help Windows users who have line ending normalization enabled. Additionally, added the LF preference to .editorconfig.
31 lines
407 B
INI
31 lines
407 B
INI
# http://editorconfig.org
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
|
|
[*.go]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
|
|
[*.{tmpl,html}]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[*.less]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{yml,json}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.js]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|