Skip to content

Linter: Implement erb-no-extra-whitespace-inside-tags linter rule#764

Merged
marcoroth merged 1 commit intomainfrom
erb-no-extra-whitespace-inside-tags
Nov 2, 2025
Merged

Linter: Implement erb-no-extra-whitespace-inside-tags linter rule#764
marcoroth merged 1 commit intomainfrom
erb-no-extra-whitespace-inside-tags

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Nov 1, 2025

✅ Good

<%= output %>

<% if condition %>
  True
<% end %>

🚫 Bad

<%=  output %>

<%= output  %>

<%  if condition  %>
  True
<% end %>

Resolves #634

@marcoroth marcoroth merged commit d4a9606 into main Nov 2, 2025
9 checks passed
@marcoroth marcoroth deleted the erb-no-extra-whitespace-inside-tags branch November 2, 2025 00:00
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.

Linter Rule: ERB Tags with too many whitespaces

1 participant