@html-eslint/parser
v0.64.0
Published
Parser for @html-eslint/eslint-plugin
Maintainers
Readme
@html-eslint/parser
HTML parser for ESLint. Converts HTML into an ESLint-compatible AST using es-html-parser.
Installation
npm install --save-dev @html-eslint/parserConfiguration
// eslint.config.js
import html from "@html-eslint/eslint-plugin";
export default [
{
files: ["**/*.html"],
plugins: { "@html-eslint": html },
languageOptions: {
parser: html.parser,
},
},
];Documentation
License
MIT
