mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:58:59 +01:00
26bf4c51fb
Make it easier to edit deeply nested code. I plan to convert Less to 2-space so that we have standardized indentation width in the codebase. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
28 lines
384 B
INI
28 lines
384 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.{go,tmpl,html}]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
|
|
[*.{less,css}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{js,json,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.svg]
|
|
insert_final_newline = false
|