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
13:18 error 1 error(s): template must end with newline hbs/check-hbs-template-literals
Putting an \n at the end doesn't seem to silence it. Besides, I don't want to do that in all places. Apart from having a different config for ESLint's template linting, can something be done in the plugin?
The text was updated successfully, but these errors were encountered:
So if #35 goes in and the template-linter has access to the filePath for inline templates, we could either:
update the blueprint to set insert_final_newline = false for some pattern **/tests/**/*.js or something (since editorconfig is the default config for the rule now)
update the eol-last rule directly to use the filePath and ignore any .js
I'm not sure what other use cases besides tests folks have for inline templates. Should this still be configurable?
I use inline templates only in tests and there I have something like:
And ESLint complains:
Putting an
\n
at the end doesn't seem to silence it. Besides, I don't want to do that in all places. Apart from having a different config for ESLint's template linting, can something be done in the plugin?The text was updated successfully, but these errors were encountered: