Honestly, I'd just use the prettier-ignore comment to keep the parentheses. Hopefully you don't feel like you have to do this multiple times in a single file. But once in a while I think it's okay.
See prettier.io/docs/en/ignore.html
// prettier-ignore var foo = (1 /10) + 100;
You could consider opening an issue on the prettier repo to see if others share your opinion.
Thanks, will surely give it another try!
Here’s the issue for that: github.com/prettier/prettier/issue...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Honestly, I'd just use the prettier-ignore comment to keep the parentheses. Hopefully you don't feel like you have to do this multiple times in a single file. But once in a while I think it's okay.
See prettier.io/docs/en/ignore.html
You could consider opening an issue on the prettier repo to see if others share your opinion.
Thanks, will surely give it another try!
Here’s the issue for that: github.com/prettier/prettier/issue...