Function call stays in one line that exceeds printWidth #12892
Labels
area:function calls
lang:javascript
Issues affecting JS
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.6.2
Playground link
Input:
Output:
someFunctionCall
becomes one line no matter what. You can pass other functions or expressions as it's params and it doesn't matter.Expected behavior:
Function call should be broken into multiple lines.
printWidth
should be enforced.The text was updated successfully, but these errors were encountered: