Skip to content

Linter: Implement aufofix for erb-comment-syntax rule#775

Merged
marcoroth merged 2 commits intomainfrom
erb-comment-syntax-autofix
Nov 3, 2025
Merged

Linter: Implement aufofix for erb-comment-syntax rule#775
marcoroth merged 2 commits intomainfrom
erb-comment-syntax-autofix

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Nov 3, 2025

This pull request implements the auto-fix functionality for the erb-comment-syntax linter rule.

For example it will correct this:

<% # bad comment %>
<%= user.name %>
<% # another bad comment %>

to this:

<%# bad comment %>
<%= user.name %>
<%# another bad comment %>

@marcoroth marcoroth merged commit 1c90bed into main Nov 3, 2025
12 checks passed
@marcoroth marcoroth deleted the erb-comment-syntax-autofix branch November 3, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant