update .editorconfig [skip ci]
This commit is contained in:
parent
b33a9cfae0
commit
1d1e09e731
@ -3,9 +3,20 @@ root = true
|
|||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
# go files (excluding templates)
|
# go files (excluding templates)
|
||||||
[*.{go,mod,sum}]
|
[*.{go,mod,sum}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
tab_width = 4
|
tab_width = 4
|
||||||
|
|
||||||
|
# go html templates
|
||||||
|
[*.tmpl]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
tab_width = 2
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
Loading…
Reference in New Issue
Block a user