# ember/template-no-chained-this 🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). Disallow redundant `this.this` in templates. Using `this.this.*` in templates is almost always a typo or copy/paste mistake. These patterns are misleading and result in unnecessary ambiguity about scope and component context. ## Rule Details This rule disallows `this.this.*` patterns in templates (e.g., `{{this.this.foo}}` or ``). ## Examples ### Incorrect ❌ ```gjs ``` ```gjs ``` ```gjs ``` ```gjs ``` ```gjs ``` ### Correct ✅ ```gjs ``` ```gjs ``` ```gjs ``` ```gjs ``` ## Migration Remove the extra `this`: Before: ```gjs ``` After: ```gjs ``` ## References - [Ember Guides - Glimmer Component Templates](https://guides.emberjs.com/release/upgrading/current-edition/glimmer-components/) - [Handlebars Strict Mode](https://github.com/emberjs/rfcs/blob/master/text/0496-handlebars-strict-mode.md)