Skip to content

Add support for other formats of link_to in the RailsAccessibility/LinkHasHref rule #3

Open
@khiga8

Description

@khiga8

The RailsAccessibility/LinkHasHref rule has been extended and still doesn't have support for various formats of link_to which are difficult to account for, for example:

<%= link_to XXXX do %>
  Text
<% end %>

for example:

<%= link_to network_dependabot_show_path(update_job_id: update_config.last_full_update_run.id) do %>
  Last checked <%= time_ago_in_words_js Time.at(update_config.last_full_update_run.finished_at.seconds) %>
<% end %>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions