# ember/template-no-class-bindings
💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations).
> **HBS Only**: This rule applies to classic `.hbs` template files only (loose mode). It is not relevant for `gjs`/`gts` files (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.
## Examples
This rule **forbids** the following:
```hbs
```
```hbs
{{some-thing classNameBindings='isActive:active:inactive'}}
```
```hbs
```
This rule **allows** the following:
```hbs
```
```hbs
```
## Migration
- find in templates and remove `classBinding` and/or `classNameBindings`.
## References
- [ember-template-lint no-class-bindings](https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-class-bindings.md)