I'm trying to integrate golangci-lint with vscode. This is my settings file in vscode
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.liveErrors": {
"enabled": true,
"delay": 500
},
"go.lintOnSave": "workspace",
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"go.useLanguageServer": true,
"go.languageServerExperimentalFeatures": {
"diagnostics": true
}
However none of the errors/warnings show up on vscode. Initially it was showing up but suddenly disappeared. Also on another note, I know the linting tool in turn use a number of other linters like errcheck
ineffassign
and so on, do I have to install them separately ?