Prettier printWidth not working with strings
Im new using webstorm, im setting my prettier up, everything works good, but now that im woking on a project with tailwind the className string its taking more than 120 characters (my printWidth limit)
i tried using softwrap but it looks ugly as it breaks at the edge, i want to maintain my 120 printWidth
1 comment
Sort by
Date
Votes
This is the Prettier own behavior since version 2.5, please refer to https://prettier.io/blog/2021/11/25/2.5.0.html#html. Feel free to leave your comments in https://github.com/prettier/prettier/issues/7863 and https://github.com/prettier/prettier/issues/10918.
Please sign in to leave a comment.