mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 22:43:32 +00:00
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.
This commit is contained in:
parent
e90e122b39
commit
eb4db0445b
|
@ -1,28 +1,22 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
indent_style = space
|
||||||
insert_final_newline = true
|
indent_size = 2
|
||||||
trim_trailing_whitespace = true
|
tab_width = 2
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
[*.md]
|
trim_trailing_whitespace = true
|
||||||
trim_trailing_whitespace = false
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{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
|
||||||
|
|
|
@ -6,7 +6,7 @@ rules:
|
||||||
color-hex-length: null
|
color-hex-length: null
|
||||||
comment-empty-line-before: null
|
comment-empty-line-before: null
|
||||||
declaration-empty-line-before: null
|
declaration-empty-line-before: null
|
||||||
indentation: 4
|
indentation: 2
|
||||||
no-descending-specificity: null
|
no-descending-specificity: null
|
||||||
number-leading-zero: never
|
number-leading-zero: never
|
||||||
rule-empty-line-before: null
|
rule-empty-line-before: null
|
||||||
|
|
Loading…
Reference in a new issue