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
With the example config, every non-go file in a dir without go files gets an error on character 1:
ERRO Running error: context loading failed: no go files to analyze: running `go mod tidy` may solve the problem
This is the same error as running golangci-lint run --out-format json --issues-exit-code=1 in a dir with no go files. I don't see any CLI flags on golangci-lint to make it not print this error.
The text was updated successfully, but these errors were encountered:
Same here: level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: package github.com/<redacted>: no go files to analyze"
So I believe it just shouldn't run if there are no go files in the current scope?
With the example config, every non-go file in a dir without go files gets an error on character 1:
This is the same error as running
golangci-lint run --out-format json --issues-exit-code=1
in a dir with no go files. I don't see any CLI flags on golangci-lint to make it not print this error.The text was updated successfully, but these errors were encountered: