ember-cli / eslint-plugin-ember

An ESLint plugin that provides set of rules for Ember applications based on commonly known good practices.
MIT License
261 stars 202 forks source link

Plan v13 Release #2060

Open bmish opened 8 months ago

bmish commented 8 months ago

Breaking changes:

Previous release:

Techn1x commented 5 months ago

We'll need eslint v9 support too. Currently I get this error

TypeError: context.getAncestors is not a function from this line https://github.com/ember-cli/eslint-plugin-ember/blob/7e6bca993226891be07ad367f066323573b672aa/lib/rules/require-return-from-computed.js#L69-L70

context.getAncestors() is replaced in v9 https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/#context.getancestors()

That's just the one I found, there is potentially other things that need to change for eslint v9

bmish commented 5 months ago

Can you file a separate issue for that? ESLint v9 support can be fixed in a bug fix release.

Techn1x commented 5 months ago

Can do, wasn't sure.

Will jump on that first thing tomorrow

Techn1x commented 5 months ago

https://github.com/ember-cli/eslint-plugin-ember/issues/2136

LucasHill commented 3 months ago

Fixed eslint v9 issues here: https://github.com/ember-cli/eslint-plugin-ember/pull/2153

Windvis commented 1 week ago

I think we should remove routes-segments-snake-case from the recommended set since the implicit route model hook has now been deprecated and that feature seemed to be the main motivation for this rule.