Skip to content

Lint against all computed and computed macros #2817

Description

@NullVoxPopuli

Since computed is the "old reactivity system", which there is tons of docs elsewhere on why we moved away from it, we should lint against use of :

@computed (we may already cover this another lint rule tho, I need to check)

and

@and, @gt, @sortBy, etc (all the macros from @ember/object/computed -- there are many https://api.emberjs.com/ember/7.0.0/classes/@ember%2Fobject%2Fcomputed )

These aren't deprecated yet, as we've been having a hard time figuring out the correct order to deprecate things in so we can delete it all from the framework, but we should at least be able to have folks opt in to preventing folks from adding these legacy utilities.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions