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
I've noticed that when trying to scan selected directories and .go files to scan instead of using ./... I get an error:
$ golangci-lint run main.go pkg/...ERRO Running error: context loading failed: failed to load program with go/packages: -: named files must be .go files: ./pkg/...
but when I just scan directories everything works fine:
golangci-lint run cmd/... pkg/... . && echo $?0
Version of golangci-lint
$ golangci-lint --versiongolangci-lint has version 1.26.0 built from 6bd10d0 on 2020-05-01T15:26:22Z
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've noticed that when trying to scan selected directories and
.go
files to scan instead of using./...
I get an error:but when I just scan directories everything works fine:
Version of golangci-lint
Config file
Go environment
Verbose output of running
The text was updated successfully, but these errors were encountered: