Handlebars partials are not supported
See original GitHub issueI’m invoking ember-template-lint via npx (to lint Handlebars *.hbs files) and I am getting a handful of the following error, but the rule name seems to be undefined
, so I’m unsure how/if I can disable those errors:
$ npx ember-template-lint views/**/*.hbs
./views/confirm.hbs
10:4 error Handlebars partials are not supported: "{{> social_media_sharing_buttons" at L10:C4 undefined
./views/layouts/default.hbs
27:6 error Handlebars partials are not supported: "{{> subscribe_modal/subscribe_modal_wrapper" at L27:C6 undefined
...
And I have a .template-lintrc.js file that looks like this:
module.exports = {
extends: 'recommended',
rules: {
'block-indentation': false,
'self-closing-void-elements': false
}
};
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:8 (3 by maintainers)
Top Results From Across the Web
SyntaxError: Handlebars partials are not supported #11834
Handlebars files are not getting formatted when included partials. I searched it on google but no proper solution was found. Please fix this....
Read more >How to solve handlebar partials are not supported in VS Code?
I am using prettier for formatting but during formatting hbs file i am getting error as SyntaxError: Handlebars partials are not supported ....
Read more >Partials | Handlebars
Handlebars allows for template reuse through partials. Partials are normal Handlebars templates that may be called directly by other templates.
Read more >Template Language—Handlebars — Eleventy
Does not process front matter in the include file. Partials (Relative Path), Not yet supported: {{> ./user}} looks for user.hbs in the template's...
Read more >How to solve handlebar partials are not supported in VS Code?
I am using prettier for formatting but during formatting hbs file i am getting error as SyntaxError: Handlebars partials are not supported ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any direction on that?
@rwjblue Unfortunately did not do the trick (just tested with 1.7.0).
Still getting the “Handlebars partials are not supported” error.
Example code:
LInting error returned: