Enable gofumpt in vscode (#2001)

## Tests
Verified that with this setting, VSCode reformats code on Save according
to gofumpt rules.
This commit is contained in:
Denis Bilenko 2024-12-12 11:06:34 +01:00 committed by GitHub
parent 7249b82bf7
commit a7e91a5b68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@
"go.lintFlags": [ "go.lintFlags": [
"--fast" "--fast"
], ],
"go.useLanguageServer": true,
"gopls": {
"formatting.gofumpt": true
},
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true, "files.insertFinalNewline": true,
"files.trimFinalNewlines": true, "files.trimFinalNewlines": true,