-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
The ESLint rule ember/no-runloop currently recommends using ember-lifeline, ember-concurrency, or @ember/destroyable as alternatives to the deprecated @ember/runloop functions like later. However, ember-lifeline has not been updated in over a year, and this package may no longer be the best recommendation for new Ember projects.
Steps to reproduce:
- Update to Ember 5.12
- Run ESLint with the ember/no-runloop rule enabled
- Observe that the error message recommends using ember-lifeline
- Current Behavior: The rule suggests using ember-lifeline, which is an outdated package that hasn't been updated for over a year.
[lint:js] 32:31 error Don't use @ember/runloop functions. Use ember-lifeline, ember-concurrency, or @ember/destroyable instead. For this case, you can replace later with runTask from ember-lifeline ember/no-runloop
[lint:js] 86:7 error Don't use @ember/runloop functions. Use ember-lifeline, ember-concurrency, or @ember/destroyable instead ember/no-runloopExpected Behavior: The rule should recommend using more up-to-date alternatives, such as:
- ember-concurrency?
- Other?
Rule: https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-runloop.md
Discussion on Discord: https://discord.com/channels/480462759797063690/480501885837770763/1294265500569960510
simonihmig, Yelinz and mkszepp
Metadata
Metadata
Assignees
Labels
No labels