Skip to content

Commit

Permalink
improve vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Nov 7, 2023
1 parent 8e1b916 commit 8f0e343
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@
},
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"go.lintOnSave": "workspace",
"go.vetOnSave": "workspace",
"go.lintFlags": [
"--fast",
],
"go.lintOnSave": "file",
"go.formatTool": "goimports",
"go.vetOnSave": "package",
"[go]": {
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.defaultFormatter": "golang.go"
},
// YAML Config
Expand Down

0 comments on commit 8f0e343

Please sign in to comment.