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

Disable require-yield #28

Closed
jhnns opened this issue Jun 28, 2018 · 0 comments
Closed

Disable require-yield #28

jhnns opened this issue Jun 28, 2018 · 0 comments
Assignees

Comments

@jhnns
Copy link
Member

jhnns commented Jun 28, 2018

We currently require a generator to have the yield keyword. However, there might be situation where you want to create a generator that generates no values (similar to how an empty array also makes sense in some situations). We also had a similar situation with require-await.

@jhnns jhnns self-assigned this Jun 28, 2018
jhnns added a commit that referenced this issue Aug 26, 2018
@jhnns jhnns closed this as completed in #37 Aug 26, 2018
jhnns added a commit that referenced this issue Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant