From 70835490018fab7abd95bec5c67478765d68fadf Mon Sep 17 00:00:00 2001 From: Genqila <102831561+genqila@users.noreply.github.com> Date: Sat, 3 Jan 2026 21:40:28 +0700 Subject: [PATCH] style: keep to 4 spaces indent to be consistent with rest of the repositories (d2go & koolo) --- .editorconfig | 5 ++--- .vscode/settings.json | 12 ++++++------ 2 files changed, 8 insertions(+), 9 deletions(-) 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