💼 This rule is enabled in the 📋 template-lint-migration config.
HBS Only: This rule applies to classic
.hbstemplate files only (loose mode). It is not relevant forgjs/gtsfiles (strict mode), where these patterns cannot occur.
Disallow passing classBinding or classNameBindings as arguments within templates. These are legacy Ember Classic patterns that should be replaced with modern approaches.
This rule forbids the following:
This rule allows the following:
- find in templates and remove
classBindingand/orclassNameBindings.