mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 15:17:56 +08:00
97cabf39cd
* Change tab width for .go files to 4 I thing 8-wide tabs are kind of archaic and inconsisten with template files which already use 4-wide. Also did some misc cleanups in the .editorconfig files. * add css Co-authored-by: Lauris BH <lauris@nix.lv>
26 lines
346 B
INI
26 lines
346 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 = 4
|
|
|
|
[*.{less,css}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{js,json,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|