AdRoll / rebar3_format

Erlang Formatter for Rebar3
https://tech.nextroll.com/blog/dev/2020/02/25/erlang-rebar3-format.html
MIT License
109 stars 21 forks source link

[#280] Fix #280: Handle space-terminated strings #281

Closed elbrujohalcon closed 3 years ago

elbrujohalcon commented 3 years ago

Fix #280. Actually, it's sort of a workaround to preserve the semantic value of the string while still being able to trim trailing whitespace from files easily. I think it's a good tradeoff since, just like not too many people start their multiline strings with tabs, not too many people should finish them with spaces.