Y
Hacker News
new
|
ask
|
show
|
jobs
by
lynxerious
1021 days ago
they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
2 comments
merrywhether
1020 days ago
It’s like they missed bikeshedding about whitespace and whether variable names were appropriately self-documenting in PRs.
link
LudwigNagasena
1021 days ago
No reason to use prettier if you already use eslint. And there is no reason to not use eslint, so…
link
sapiogram
1021 days ago
Not exactly, Prettier is a far more opinionated formatter than Eslin will ever be. As far as I know, Eslint can't format one line into multiple lines, and vice versa. Whether that's desirable or not is up to the you, of course.
link
seattle_spring
1019 days ago
I recommend reading up on what Prettier does, because you can and should be using both.
link
Destiner
1020 days ago
not really, those tools somewhat overlap, but they have completely different purposes (formatting vs linting)
link