Skip to content

Linter: Implement erb-no-silent-statement rule#1403

Merged
marcoroth merged 1 commit intomainfrom
erb-no-silent-statement
Mar 17, 2026
Merged

Linter: Implement erb-no-silent-statement rule#1403
marcoroth merged 1 commit intomainfrom
erb-no-silent-statement

Conversation

@marcoroth
Copy link
Owner

This pull request implements a new erb-no-silent-statement linter rule that flags all <% tags that aren't used for control flow or any form of assignments.

Since this is quite a radical rule, I decided to disable this one by default for now.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2026

npx https://pkg.pr.new/@herb-tools/formatter@1403
npx https://pkg.pr.new/@herb-tools/language-server@1403
npx https://pkg.pr.new/@herb-tools/linter@1403

commit: a3d4d4e

@github-actions
Copy link

github-actions bot commented Mar 17, 2026

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit a3d4d4e


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 5942e12 into main Mar 17, 2026
20 checks passed
@marcoroth marcoroth deleted the erb-no-silent-statement branch March 17, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation linter linter-rule typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant