Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lynxerious
· 3y ago · 0 comments
they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
Comments
[–]
merrywhether
3y ago
It’s like they missed bikeshedding about whitespace and whether variable names were appropriately self-documenting in PRs.
[–]
LudwigNagasena
3y ago
No reason to use prettier if you already use eslint. And there is no reason to not use eslint, so…
[–]
sapiogram
3y 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.
[–]
seattle_spring
3y ago
I recommend reading up on what Prettier does, because you can and should be using both.
[–]
Destiner
3y ago
not really, those tools somewhat overlap, but they have completely different purposes (formatting vs linting)