editorconfig: add go configiuration to reflect project style
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
e8a4380e66
commit
c38a5945ca
|
|
@ -4,6 +4,14 @@ root = true
|
|||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.go]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
Loading…
Reference in New Issue