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
{{ message }}
This repository has been archived by the owner on May 7, 2021. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: