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
Prettier-plugin-erb currently sometimes split the do from a block onto a new line, causing a syntax error:
do
ActionView::SyntaxErrorInTemplate - Encountered a syntax error while rendering template
Example input:
<%= link_to signout_path, class: "very-long-class-name-here-to-cause-line-break" do %> Welcome <% end %>
Output:
Full error:
ActionView::SyntaxErrorInTemplate - Encountered a syntax error while rendering template: check <%= link_to signout_path, class: "very-long-class-name-here-to-cause-line-break" do %> Welcome <% end %>: app/views/layouts/application.html.erb:70
The text was updated successfully, but these errors were encountered:
Hey @Pezmc thanks for submitting the issue, it will be fixed in the next release.
Sorry, something went wrong.
should be fixed in a newly released v0.2.0
adamzapasnik
No branches or pull requests
Prettier-plugin-erb currently sometimes split the
do
from a block onto a new line, causing a syntax error:Example input:
Output:
Full error:
The text was updated successfully, but these errors were encountered: