We should provide an autofix if the interpolation has static string leaf nodes:
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %>"></figure>
should be fixed to
<figure class="attachment <% if blob.representable? %> attachment--preview <% else %> attachment--file <% end %>"></figure>
We should provide an autofix if the interpolation has static string leaf nodes:
should be fixed to