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

Require yields #674

Merged
merged 2 commits into from
Jan 23, 2021
Merged

Require yields #674

merged 2 commits into from
Jan 23, 2021

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Jan 21, 2021

  • feat(require-yields): add new rule to check that yield has documentation; for Check yield and @yields/@yield #354
  • feat(require-yields): add options to check that next has documentation

Note that Gajus approved the rule concept in the referenced issue.

(Btw, your earlier refactoring on hasReturnValue, @golopot , also helped inspire a more minimal version of what was needed for hasYieldValue.)

@brettz9 brettz9 mentioned this pull request Jan 21, 2021
@brettz9 brettz9 merged commit 15daa12 into gajus:master Jan 23, 2021
@gajus
Copy link
Owner

gajus commented Jan 23, 2021

🎉 This PR is included in version 31.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Jan 23, 2021
@brettz9 brettz9 deleted the require-yields branch January 23, 2021 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants