Skip to content
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

Prevent @implements on non-constructor functions #243

Merged
merged 1 commit into from
May 18, 2019

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented May 18, 2019

@sandersn

@brettz9 brettz9 requested a review from gajus May 18, 2019 00:38
@brettz9 brettz9 merged commit 27b3660 into gajus:master May 18, 2019
@brettz9 brettz9 deleted the implements-on-classes branch May 18, 2019 03:50
@gajus
Copy link
Owner

gajus commented May 21, 2019

🎉 This PR is included in version 6.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label May 21, 2019
@mrfelton
Copy link

This rule seems to flag every single method in my codebase whilst I have not used @implements anywhere.

@brettz9
Copy link
Collaborator Author

brettz9 commented May 22, 2019

Ugh, my apologies... Fixed in 6.0.2...

@brettz9
Copy link
Collaborator Author

brettz9 commented May 22, 2019

And it was added to recommended, which is probably the reason it is showing up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule to discourage @implements on regular (non-class) functions
3 participants