Prettier ERB Plugin
How to install?
yarn add -D prettier @prettier/plugin-ruby prettier-plugin-erb
@prettier/plugin-ruby
is used for formatting multiline expressions
Available configuration options for plugin-ruby are available here
How to deal with bugs?
Your code wasn't formatted correctly or there was an error? Add the problematic file to .prettierignore and submit an Issue.