Earlier quoted context omitted.
Agreed, but that's a different conversation because gofmt is a lot less opinionated than prettier. Prettier goes well beyond style issues, and messes with semantics - it will add or remove parentheses in math expressions, add or remove linebreaks within lines of code, etc. If prettier worked more like gofmt I'd probably love it and have no complaints!
> and messes with semantics - it will add or remove parentheses in math expressions Wait, so prettier rewrites code incorrectly? Aka, it’s buggy?
This the same code, but I often use parens for semantic grouping or to be 110% sure the operator precedence is correct for a particular formula. It's not a dealbreaker, but it does remove some of the meaning I was trying to imbue on the code.