Skip to content

Conversation

@coliff
Copy link
Member

@coliff coliff commented Nov 28, 2025

Introduces an auto-fix action for the 'empty-tag-not-self-closed' rule, converting void HTML elements to self-closing format. Updates documentation and changelog, enables the rule in test config, and adds comprehensive test cases for void elements.

Introduces an auto-fix action for the 'empty-tag-not-self-closed' rule, converting void HTML elements to self-closing format. Updates documentation and changelog, enables the rule in test config, and adds comprehensive test cases for void elements.
@coliff coliff requested a review from Copilot November 28, 2025 07:36
@coliff coliff changed the title Add autofix for empty-tag-not-self-closed rule Add autofix for empty-tag-not-self-closed rule Nov 28, 2025
Copilot finished reviewing on behalf of coliff November 28, 2025 07:36
gemini-code-assist[bot]

This comment was marked as resolved.

Expanded the test suite to include void HTML elements (hr, input, br, img) with trailing whitespace to verify they are converted to self-closing tags. Also updated test case numbering for clarity.
@coliff coliff merged commit d65e29c into main Nov 28, 2025
12 checks passed
@coliff coliff deleted the dev/coliff/autofix-empty-tag-not-self-closed branch November 28, 2025 07:43
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

Successfully merging this pull request may close these issues.

2 participants