✅ The extends: 'recommended'
property in a configuration file enables this rule.
It is possible to pass classBinding
and classNameBindings
as arguments to a component when invoked with curly syntax.
These arguments are merged into the class
attribute, whether or not the component is a classic component (which contains the classNameBindings
logic).
This rule disallows use of classBinding
or classNameBindings
on components.
This rule forbids the following:
This rule allows the following:
- find in templates and remove
classBinding
and/orclassNameBindings
.