You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:31errorDon'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:7errorDon't use @ember/runloop functions. Use ember-lifeline, ember-concurrency, or @ember/destroyable instead ember/no-runloop
Expected Behavior: The rule should recommend using more up-to-date alternatives, such as:
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:
Expected Behavior: The rule should recommend using more up-to-date alternatives, such as:
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
The text was updated successfully, but these errors were encountered: