no-html-comments.md
January 12, 2019 ยท View on GitHub
no-html-comments
HTML comments in your templates will get compiled and rendered into the DOM at runtime. This is undesirable in a production environment. Instead, you can annotate your templates using Handlebars comments, which will be stripped out when the template is compiled and have no effect at runtime.
This rule forbids the following:
<!-- comment goes here -->
This rule allows the following:
{{!-- comment goes here --}}