-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARN [runner/golint] Golint: can't lint 5 files: no file name for file #755
Comments
The warn does not provide useful info, i really do not know how to fix. |
@@jirfag mind have a look? |
@daixiang0 Is it possible you can narrow the issue down to a single file and include the contents of it here? That will help make debugging the issue much easier. |
@tpounds the issue happen under
I tried to test single file but failed to get same warn. |
@daixiang0 It looks like I'm able to reproduce your issue with Go 1.13 and latest v1.19.1 release but it looks like the issue doesn't occur with latest master release. Can you try running against the latest master commit to see if you are still seeing the issue? |
I use
|
@daixiang0 The plan is to release /cc @jirfag |
@daixiang0 Resolving now that v1.20.0 has been released. |
You can run with below cmd to reproduce:
Please include the following information:
Version of golangci-lint:
golangci-lint --version
(or git commit if you don't use binary distribution)golangci-lint has version 1.17.1 built from 4ba2155 on 2019-06-10T09:06:49Z
Config file:
cat .golangci.yml
https://github.com/daixiang0/loki/blob/lint-bug/.golangci.yml
Go environment:
go version && go env
golangci-lint run -v
The text was updated successfully, but these errors were encountered: