Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 602 Bytes

File metadata and controls

25 lines (15 loc) · 602 Bytes

ember/template-no-attrs-in-components

💼 This rule is enabled in the 📋 template-lint-migration config.

This rule prevents the usage of this.attrs property to access values passed to the component. Use @arg syntax instead.

Examples

This rule forbids the following:

{{this.attrs.foo}}

This rule allows the following:

{{@foo}}

References