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.
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.