Hacker News new | ask | show | jobs
by LudwigNagasena 1022 days ago
No reason to use prettier if you already use eslint. And there is no reason to not use eslint, so…
3 comments

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.
I recommend reading up on what Prettier does, because you can and should be using both.
not really, those tools somewhat overlap, but they have completely different purposes (formatting vs linting)