html-eslint
html-eslint copied to clipboard
Not detecting hanging closing tags
The plugin doesn't seem to be picking up on hanging closing tags e.g.
</p>
When included in a large HTML file, the HTML is then invalid and formatters like Prettier are unable to execute.
Package versions:
{
"@html-eslint/eslint-plugin": "^0.22.0",
"@html-eslint/parser": "^0.22.0",
"eslint": "^8.56.0",
}
I tried using @html-eslint/require-closing-tags but it also does not pick up on hanging closing tags.
Hi @tobias-edwards Thank you for the report. Are you suggesting adding a lint rule that checks for hanging closing tags?