Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

On goplus startup, complaints during load of golangci #1057

Open
WyoMurf opened this issue Sep 25, 2020 · 0 comments
Open

On goplus startup, complaints during load of golangci #1057

WyoMurf opened this issue Sep 25, 2020 · 0 comments

Comments

@WyoMurf
Copy link

WyoMurf commented Sep 25, 2020

When I first open a .go file for edit, the goplus stuff loads, and I see:

$ go get -u github.com/golangci/golangci-lint/cmd/golangci-lint

github.com/golangci/golangci-lint/pkg/golinters

../src/github.com/golangci/golangci-lint/pkg/golinters/gci.go:50:25: assignment mismatch: 3 variables but gci.Run returns 2 values
../src/github.com/golangci/golangci-lint/pkg/golinters/golint.go:21:14: l.LintPkg undefined (type *"github.com/golangci/lint-1".Linter has no field or method LintPkg)
../src/github.com/golangci/golangci-lint/pkg/golinters/gomnd.go:13:6: cannot use magic_numbers.Analyzer (type *"github.com/tommy-muehle/go-mnd/vendor/golang.org/x/tools/go/analysis".Analyzer) as type *"golang.org/x/tools/go/analysis".Analyzer in array or slice literal
../src/github.com/golangci/golangci-lint/pkg/golinters/unused.go:16:7: undefined: unused.NewChecker

$ go get -u github.com/zmb3/gogetdoc
$ go get -u github.com/zmb3/goaddimport### Help, format on save stopped working when I upgraded to v6.0.0+
...

I am wondering if some of the lint errors I see when I save some files, that don't appear to have any problems, are the result of these problems?

murf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant