Skip to content

lodash-template/no-html-comments

disallow HTML comments. (ex. 🆖 <!-- comment -->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports HTML comments.

html
<% /* eslint "lodash-template/no-html-comments": "error" */ %>
<% /* ✓ GOOD */ %>

<!-- ✗ BAD -->

Implementation