We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When my config is:
--- EnableDefaultLinters: true linters: ErbSafety: enabled: true Rubocop: enabled: true
and I run erb_lint -a it does this correction.
erb_lint -a
+++ b/app/views/blacklight/nav/_search_history.html.erb @@ -1 +1,3 @@ -<%= link_to t('blacklight.header_links.search_history'), blacklight.search_history_path, class: 'nav-link' %> +# frozen_string_literal: true +link_to t('blacklight.header_links.search_history'), blacklight.search_history_path, class: 'nav-link' + %>
This drops the opening <%= tag.
<%=
The text was updated successfully, but these errors were encountered:
For now, I disabled Rubocop in lintrers. Once there is some solution/workaround, I'll enable it again
--- EnableDefaultLinters: true linters: ErbSafety: enabled: true Rubocop: enabled: false # this line changed
Sorry, something went wrong.
No branches or pull requests
When my config is:
and I run
erb_lint -a
it does this correction.This drops the opening
<%=
tag.The text was updated successfully, but these errors were encountered: