I call Pettier a compromise tool, noone is happy noone is too mad when you force it on checkin etc
I call Pettier a compromise tool, noone is happy noone is too mad when you force it on checkin etc
I know that you can go for descriptive classnames and "@apply", but I was still miffed about a change like this in an already existing tool, with a lot of community pushback and no compromise in sight.
(Here's a relevant discussion, but keep in mind that multi-line-classes worked at some point and now just don't: https://github.com/tailwindlabs/tailwindcss/discussions/7763)
So for prettier, it wasn't just "format your code our way or else" - which is a good approach for a formatter, see also gofmt - it was "your current set up doesn't work anymore, tough luck".
I’m 100% happy with Prettier. The trick is to not care too much about how the code looks. Consistent style trumps any choice for me.
Out of curiosity, what did you find to be something unchangeable?
No big deal but a bit annoying to have two ways of doing it.