🔧 This rule is automatically fixable by the --fix CLI option.
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.
In Ember route templates, the model should be accessed via this.model in the controller or component, not as an @model argument. The @model argument pattern is more appropriate for components. This rule primarily targets .hbs files in the templates/ directory.
This rule disallows the use of @model argument in route templates (.hbs files in templates/ directory).
Examples of incorrect code for this rule (in route templates):
Examples of correct code for this rule:
This rule includes a fixer in order to handle the migration for you automatically.