Open dalongi opened 9 years ago
Just to make sure: is there any chance this could be explained by the accidental use of options.wrapColumns
instead of options.wrapColumn
?
Yes, sorry, that was just a typo in the description. Live example: http://felix-kling.de/esprima_ast_explorer/#/Ba4MGXTGGN/2
I looked into this a little bit to see if there is a simple fix. I figured out the first one, but don't know how to approach the 2nd.
I recently used jscodeshift to add an additional argument to many function calls. Even when specifying wrapColumns, the function was still printed as one very long line instead of split over many lines.
It would be nice to have a way to have wrapColumns respected for functions with many arguments.
CC @cpojer