diff --git a/.editorconfig b/.editorconfig index d43bfaa..3f74794 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,7 @@ root = true charset = utf-8 end_of_line = lf indent_style = space -indent_size = 2 +indent_size = 4 trim_trailing_whitespace = true insert_final_newline = true @@ -18,8 +18,7 @@ insert_final_newline = unset [{*.go,go.{mod,work,work.sum,sum}}] indent_style = tab -indent_size = 2 -tab_width = 2 +tab_width = 4 [*.md] trim_trailing_whitespace = false diff --git a/.vscode/settings.json b/.vscode/settings.json index 55d761b..8d97a2d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,15 @@ { "go.formatTool": "default", - "[go]": { - "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.organizeImports": "always" - } - }, "[json]": { "editor.formatOnSave": true, }, "[jsonc]": { "editor.formatOnSave": true, + }, + "[go]": { + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "always" + } } } \ No newline at end of file