ember/template-no-potential-path-strings
April 20, 2026 ยท View on GitHub
๐ผ This rule is enabled in the ๐ template-lint-migration config.
It might happen sometimes that {{ and }} are forgotten when invoking a component, and the string that is passed was actually supposed to be a property path or argument.
This rule warns about all arguments and attributes that start with this. or @, but are missing the surrounding {{ and }} characters.
Examples
This rule forbids the following:
<img src='this.picture' />
<img src='@img' />
This rule allows the following:
<img src={{this.picture}} />
<img src={{@img}} />
Migration
- Replace the surrounding
"characters with{{/}}