-
Notifications
You must be signed in to change notification settings - Fork 273
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
package-comments complains for no reason #922
Comments
Hi @marcelloh, thanks for reporting this issue.
|
Example (what you can put on top of the other file in the same package)
and message is:
|
Thanks. |
There should be a valid package comment present in the package. In my example, there is The fact i'm running golangci-lint (with inside revive) and after that some separate linters, also with revive), gives this effect.
this probably works but looks really ugly |
Describe the bug
I have a package comment (in a doc.go), but when I have a comment in another file inside the same package, it complains that it isn't a good one.
To Reproduce
make one valid package comment in a package
My doc.go example
Now add in another file a comment not being a package comment
I use revive version 1.3.4
no toml
Expected behavior
N0 complains, because there is a valid package comment in the package
Logs
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: