test('it renders', async function (assert) {
this.set('foo', 420);
await render(hbs`{{some-component foo=this.foo}}`);
});
This leads to:
Usage of 'this' in path 'this.foo' is not allowed in a template-only component. Use '@foo' if it is a named argument or create a component.js for this component. (fixable)ember-template-lint(no-this-in-template-only-components)
This doesn't make sense in this case.
cc @rwjblue @dwickern
This leads to:
This doesn't make sense in this case.
cc @rwjblue @dwickern