Skip to content

Commit

Permalink
vscode lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
martinothamar committed Jun 19, 2024
1 parent 18b04b0 commit 14bfff3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"go.formatTool": "custom",
"go.alternateTools": {
"customFormatter": "golines"
"customFormatter": "golines",
"golangci-lint": "${workspaceFolder}/bin/golangci-lint-v1.54.2"
},
"go.formatFlags": [
"-m",
"120",
"-w",
"--ignore-generated"
],
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--issues-exit-code=0"
]
}

0 comments on commit 14bfff3

Please sign in to comment.