Comment by lynxerious
2 years ago
they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
2 years ago
they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
It’s like they missed bikeshedding about whitespace and whether variable names were appropriately self-documenting in PRs.
No reason to use prettier if you already use eslint. And there is no reason to not use eslint, so…
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)