-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
forever is a yieldable constant exported by ember-concurrency. As most other exported yieldables are functions it's quite easy to write yield forever() which will not work. I propose a lint rule which guards against this.
docs: http://ember-concurrency.com/api/global.html#forever
Bad
@task
*example() {
yield forever();
}Good
@task
*example() {
yield forever;
}Turbo87mansonadbendaou and mansona
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request