editorconfig: add go configiuration to reflect project style

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
Hubertbits 2025-04-12 00:19:37 +02:00 committed by yxxhero
parent e8a4380e66
commit c38a5945ca
1 changed files with 9 additions and 1 deletions

View File

@ -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
indent_size = 4