nebulab / erb-formatter

Format ERB files with speed and precision
MIT License
135 stars 22 forks source link

How to configure length limit #19

Closed davidalejandroaguilar closed 1 year ago

davidalejandroaguilar commented 1 year ago

The readme says:

attempts to limit length (configurable)

Yet there's no way (that I know of) to configure when the formatter would break lines. I also don't see any CLI option apart from the initializer.

nbelzer commented 1 year ago

Hey @davidalejandroaguilar, you should be able to use --print-width as implemented in #13.