An ESLint
plugin
to lint and fix HTML code.

ESLint is a popular linting tool, but it only supports JavaScript.
This plugin allows you to lint HTML files and HTML code in JavaScript Template Literals.

FAQ

  • Q: Lint JavaScript inside HTML

    A: This ESLint plugin supports linting HTML syntax and does not provide JavaScript syntax linting. To lint JavaScript in HTML, such as inline scripts, you can use eslint-plugin-html

If you find this project useful,
Please support this project with a Github Star!