Pretty printing too greedy

The pretty printing setting seems to be a bit too greedy at times when it comes to mathematical formulas. Perhaps I’m too judicious with my parentheses but it’s led to some head scratching bugs at times.

For example a * (180 / Math.PI) in a radians conversion kept getting flipped to * 180) / Math.PI

Welcome to the forums @tysonanderson!

What you described sounds disturbing. However, I can’t seem to reproduce this – can you share an example where prettier reliably changes the semantics of your code?