Skip to content

Commit 9b54dc0

Browse files
committed
Update VS Code settings to use golangci-lint v2
We configure it to call the same binary that the new lint script also uses (see beginning of the branch).
1 parent c4de94c commit 9b54dc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
"gopls": {
33
"formatting.gofumpt": true,
44
},
5+
"go.alternateTools": {
6+
"golangci-lint-v2": "${workspaceFolder}/.bin/golangci-lint",
7+
},
8+
"go.lintTool": "golangci-lint-v2",
59
}

0 commit comments

Comments
 (0)