Goimports error message insufficient with local-prefixes
#773
Labels
enhancement
New feature or improvement
local-prefixes
#773
The error message for
goimports
is currently insufficient when run with alocal-prefixes
. Suppose we have the following:main.go:
.golangci.yaml:
Running
golangci-lint run -c .golangci.yaml
produces the following output:This message is confusing, because running
goimports
on the file doesn't seem to find any issues:Of course, running
goimports
with the-local
flag does provide output, butgolangci-lint
does not indicate that the flag is needed:The text was updated successfully, but these errors were encountered: