Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not detecting hanging closing tags #171

Open
tobias-edwards opened this issue Dec 27, 2023 · 1 comment
Open

Not detecting hanging closing tags #171

tobias-edwards opened this issue Dec 27, 2023 · 1 comment

Comments

@tobias-edwards
Copy link

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.

@yeonjuan
Copy link
Owner

Hi @tobias-edwards Thank you for the report. Are you suggesting adding a lint rule that checks for hanging closing tags?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants