Hacker News new | ask | show | jobs
by yawboakye 930 days ago
does it? prettier is extremely configurable, unlike gofmt. so deferring to the authority of prettier is essentially deferring to the authority of the prettier.yml config. not that i have a problem with that _per se_, i’d expect the author(s) to take responsibility and appreciate that they’re defining/imposing their own taste(s).
2 comments

> prettier is extremely configurable

That's the opposite of what they claim: https://prettier.io/docs/en/option-philosophy

the delta, when prettier is introduced in a project for the first time, not counting +/- whitespace and semicolons (where none existed) isn’t huge. where it matters, the configuration options you get is all that’s necessary.
Extremely configurable? It has like 3 config options, and an explicit policy of not being configurable.