Closed charlesfries closed 3 years ago
Hi @charlesfries! Could you share ember-template-lint version you have on project?
It’s error from https://github.com/ember-template-lint/ember-template-lint/issues/1963, can’t fix in uELS level (in long term), but, patch-package or ember-template-recast dependency pinning may help
ember-template-lint@3.7.0
Closing in favor of that other issue. Thanks again @lifeart !
Per this deprecation: https://deprecations.emberjs.com/v3.x/#toc_argument-less-helper-paren-less-invocation
Helpers w/o arguments that are passed to components should be wrapped in parentheses. This template:
<SomeComponent @arg={{array}} />
becomes:
<SomeComponent @arg={{(array)}} />
However, when I apply this fix to my own app, I see the following error in VSCode's problems drawer:
Expecting 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'OPEN_SEXPR'
The error goes away if UELS is disabled. Any ideas?