You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
I wonder why I get different results. When I test using ember-bootstrap, the rule fails on this line since there is no file path:
/Users/dwickern/code/ember-bootstrap/tests/integration/components/bs-tab/pane-test.js
13:18 error 1 error(s): The "path" argument must be of type string. Received undefined hbs/check-hbs-template-literals
27:18 error 1 error(s): The "path" argument must be of type string. Received undefined hbs/check-hbs-template-literals
49:18 error 1 error(s): The "path" argument must be of type string. Received undefined hbs/check-hbs-template-literals
You’ve hit this issue - #34. If you disable the hbs/... rule in ESLint you’ll start hitting this issue here, at least that’s what I saw in VSCode (not sure why it continued working in VSCode after I disabled the rule - perhaps because I didn’t restart it).
This leads to:
This doesn't make sense in this case.
cc @rwjblue @dwickern
The text was updated successfully, but these errors were encountered: