I’m just starting my journey with Go and wonder why I have warnings about Go source code in the IDE.
Is there an easy way to disable these? Why is VScode even reporting them?
I’m using the default Go extension and 1.22.3 Go version.
Go
1.22.3
2
I had some very old version of staticcheck (present in go/bin folder). After re-installing Go and VScode Go extension, it works without problems.
staticcheck
go/bin
Shout to JimB for giving me a hint.
"go.lintTool": "none"
Click here to cancel reply.
2
Answers
I had some very old version of
staticcheck
(present ingo/bin
folder).After re-installing Go and VScode Go extension, it works without problems.
Shout to JimB for giving me a hint.