Closed anomiex closed 1 year ago
wp-prettier 2.6.2
# Options (if any): --paren-spacing
Input:
const foo = ( 'Something long enough that prettier wraps the parens' ? 'and has to be' : 'an expression so it keeps them' ).bar();
Output:
const foo = ( "Something long enough that prettier wraps the parens" ? "and has to be" : "an expression so it keeps them" ).bar();
Note the space at the start of the last line.
Expected behavior:
Fixed in wp-prettier@2.8.5, thanks for reporting!
wp-prettier 2.6.2
Input:
Output:
Note the space at the start of the last line.
Expected behavior: