golangci-lint incorrectly complains about Go version being lower than needed (Go workspace) #4894
Open
6 of 7 tasks
Labels
question
Further information is requested
Welcome
typecheck
section of the FAQ.Description of the problem
go list -m -json
outputs multiple JSON documents when in a workspace, butgomoddirectives
only decodes the first one. That can lead togolangci-lint
wrongly complaininggolangci-lint/pkg/config/config.go
Line 79 in 90664f6
https://github.com/ldez/gomoddirectives/blob/7ed1901522539e1461a03c3237fba32af0f70523/module.go#L24-L33
Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
// add your code here
Validation
Supporter
The text was updated successfully, but these errors were encountered: