Skip to content

Linter: Make html-anchor-require-href Action View Helper aware#1367

Merged
marcoroth merged 2 commits intomainfrom
html-anchor-require-href-tag-helper
Mar 12, 2026
Merged

Linter: Make html-anchor-require-href Action View Helper aware#1367
marcoroth merged 2 commits intomainfrom
html-anchor-require-href-tag-helper

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Mar 11, 2026

Based on the infrastructure introduced in #1347 we can now start making the linter rules aware of the Action View Tag Helpers.

The html-anchor-require-href linter rule is now also able to flag the following:

<%= link_to "Home", "#" %>

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 11, 2026

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

commit: 81556f3

@github-actions
Copy link

github-actions bot commented Mar 11, 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 81556f3


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 5978d9f into main Mar 12, 2026
20 checks passed
@marcoroth marcoroth deleted the html-anchor-require-href-tag-helper branch March 12, 2026 00:13
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