mirror of https://github.com/go-gitea/gitea
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.pull/9096/head^2
parent
e90e122b39
commit
eb4db0445b
@ -1,28 +1,22 @@ |
|||||||
root = true |
root = true |
||||||
|
|
||||||
[*] |
[*] |
||||||
|
indent_style = space |
||||||
|
indent_size = 2 |
||||||
|
tab_width = 2 |
||||||
|
end_of_line = lf |
||||||
charset = utf-8 |
charset = utf-8 |
||||||
insert_final_newline = true |
|
||||||
trim_trailing_whitespace = true |
trim_trailing_whitespace = true |
||||||
end_of_line = lf |
insert_final_newline = true |
||||||
|
|
||||||
[*.md] |
|
||||||
trim_trailing_whitespace = false |
|
||||||
|
|
||||||
[*.{go,tmpl,html}] |
[*.{go,tmpl,html}] |
||||||
indent_style = tab |
indent_style = tab |
||||||
indent_size = 2 |
|
||||||
|
|
||||||
[*.{less,css}] |
|
||||||
indent_style = space |
|
||||||
indent_size = 4 |
|
||||||
|
|
||||||
[*.{js,json,yml}] |
|
||||||
indent_style = space |
|
||||||
indent_size = 2 |
|
||||||
|
|
||||||
[Makefile] |
[Makefile] |
||||||
indent_style = tab |
indent_style = tab |
||||||
|
|
||||||
[*.svg] |
[*.svg] |
||||||
insert_final_newline = false |
insert_final_newline = false |
||||||
|
|
||||||
|
[*.md] |
||||||
|
trim_trailing_whitespace = false |
||||||
|
Loading…
Reference in new issue