nebulab / erb-formatter

Format ERB files with speed and precision
MIT License
144 stars 24 forks source link

Format with print width #2

Closed exdeniz closed 1 year ago

exdeniz commented 2 years ago

Please add option print width like https://prettier.io/docs/en/options.html#print-width

from

 <li <%= (action_name == 'settings') ? 'class=selected' : '' %>><a href="<%=mining_account_settings_path(coin)%>"><%= I18n.t('views.mining_account.main_menu.settings') %></a></li>

to

<li <%= (action_name == 'settings') ? 'class=selected' : '' %>>
  <a href="<%=mining_account_settings_path(coin)%>">
    <%= I18n.t('views.mining_account.main_menu.settings') %>
  </a>
</li>