We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 sandbox // Foo is OK func Foo() {} // fooBarQuux was not exported but is now exported func FooBarQuux() {}
revive reports the right things yet, but it could be improved.
Here we are 100% sure the issue is the fact the method is now exported, but wasn't before
But because golangci-lint exclude EXC0012 by default. This one is not reported via golangci-lint.
EXC0012
We should consider trying to detect it, and report another message that won't be caught by EXC0012
Here the idea is to compare that only the case of the first letter differ.
Please note #1235 is a special case of #1236
The text was updated successfully, but these errors were encountered:
@ccoVeille what message could we report for these cases?
Sorry, something went wrong.
Let's consider #1236 with this issue for providing a wording.
So we already have this error messages
exported (.+) should have comment( (or a comment on this block))? or be unexported
comment on exported (.+) should be of the form "(.+)..."
package comment should be of the form "(.+)..."
should have a package comment
These are respectively, exc0012, exc0013, exc0014, exc0015
Here are some suggestions:
No branches or pull requests
revive reports the right things yet, but it could be improved.
Here we are 100% sure the issue is the fact the method is now exported, but wasn't before
But because golangci-lint exclude
EXC0012
by default.This one is not reported via golangci-lint.
We should consider trying to detect it, and report another message that won't be caught by
EXC0012
Here the idea is to compare that only the case of the first letter differ.
Please note #1235 is a special case of #1236
The text was updated successfully, but these errors were encountered: