style: keep to 4 spaces indent to be consistent with rest of the repositories (d2go & koolo)

This commit is contained in:
Genqila
2026-01-03 21:40:28 +07:00
committed by guiyomu-dev
parent d3d93034b9
commit 7083549001
2 changed files with 8 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ root = true
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
@@ -18,8 +18,7 @@ insert_final_newline = unset
[{*.go,go.{mod,work,work.sum,sum}}] [{*.go,go.{mod,work,work.sum,sum}}]
indent_style = tab indent_style = tab
indent_size = 2 tab_width = 4
tab_width = 2
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false

12
.vscode/settings.json vendored
View File

@@ -1,15 +1,15 @@
{ {
"go.formatTool": "default", "go.formatTool": "default",
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
},
"[json]": { "[json]": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
}, },
"[jsonc]": { "[jsonc]": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
},
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
} }
} }