-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: add interfacebloat #3024
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
feat: add interfacebloat #3024
Conversation
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements. Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
What do you call the length of an interface? 🤔 Can you improve your readme?
|
I mean count of methods in interface |
What is the rule that you want to apply? is it limit the number of methods in an interface? |
Yes, limit the number of methods in an interface https://en.wikipedia.org/wiki/Interface_bloat |
So now, you have to improve your readme with the links and examples. |
@ldez I add short description and links |
a061428
to
932adf6
Compare
fba144f
to
f30bee3
Compare
f30bee3
to
fa3ad6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Fernandez Ludovic <[email protected]>
A linter that checks the number of methods on an interface.
https://github.com/sashamelentyev/interfacebloat