You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2019. It is now read-only.
Consider the following JavaScript which has been input into Prettier. Note that the developer has logically grouped together certain variables with deliberate use of whitespace:
Should prettier-ruby align with a similar result to the JavaScript prettier output, and keep some whitespace intact for readability? And if so, are there any thoughts on implementation details
Consider the following JavaScript which has been input into Prettier. Note that the developer has logically grouped together certain variables with deliberate use of whitespace:
The current version of Prettier for JavaScript will still keep the logical grouping of statements when creating the updated
However, the current
prettier-rubyoutput will currently throw away this whitespace:Discussion:
Should
prettier-rubyalign with a similar result to the JavaScript prettier output, and keep some whitespace intact for readability? And if so, are there any thoughts on implementation details