rule `exported` add `checkPublicInterface` option to check documentation in public interface definition
For now this code is valid:
// Some - some interface
type Some interface {
// Correct - should do all correct
Correct()
// not valid format of comment
SemiCorrect()
NonCorrect() // no documentation
}
suggest to add checkPublicInterface to exported rule to check documentation on interface method declaration,
so here SemiCorrect() has not valid comment, and NonCorrect() doesn't have it at all
Hi @comdiv, thank you for reporting the issue and opening a PR (I'll check it in the next days)
I see the #1003 was merged, however no release was made since then. Can you please release new version so we can use this feature with GolangCI-Lint?
Thank you
@mgechev, @chavacava, or other collaborators. Do you have any plans for when to release a new version so that we can use this new flag?
Based on https://github.com/mgechev/revive/releases/tag/v1.4.0 it should be released. I guess this issue can be closed.