You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current recommendation is to integrate through meta linters like golangci-lint or custom linter.
Unfortunately, it looks like the feature request is currently closed due to too many false positives. golangci/golangci-lint#4045
We moved this issue to the gopls issue tracker since vscode-go doesn't plan to add any custom analyzer directly through the extension. We still need to investigate if its false report rate meets the quality standard we expect from gopls analyzers. If its false report rate is too high, either it needs to wait for the custom analyzer support (for example #59869), or alternatively, set up a custom linter and configure the extension to call it using the go.lintTool setting.