Option Request: Multi-line formatting of object destructuring #4384
Labels
area:destructuring
lang:javascript
Issues affecting JS
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:needs discussion
Issues needing discussion and a decision to be made before action can be taken
A recent change from #4267 resulted in an intentional change in how objects are destructured. I've been using prettier now for a long time and I love it. But I used to be able to do something like this:
(edited by @duailibe)
Before
After
And there are a number of other places where this has caused a number of extra lines of code (that IMO are less readable). So I'm requesting that this change be given a config option so I can disable just this one rule.
Thank you for your consideration, time and for putting such great work into prettier
The text was updated successfully, but these errors were encountered: