Skip to content

Commit

Permalink
Use gofumpt for formatting in VSCode
Browse files Browse the repository at this point in the history
Use the same formatter for VSCode that is used by the `make fmt` command
to ensure consistent formatting.
  • Loading branch information
kpitt committed Sep 27, 2022
1 parent 00cf3c1 commit 5417ca0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"go.formatTool": "gofumpt",
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--fast"
],
"makefile.extensionOutputFolder": "./.vscode"
}
}

0 comments on commit 5417ca0

Please sign in to comment.