DEV Community

Discussion on: Which do you prefer? ESLint or Prettier or both?

Collapse
 
baso53 profile image
Sebastijan Grabar

These two aren't really up to comparison and the best answer is to use them together. ESLint is a linter - it will show possible errors in your code, provide with best practices and then show you code style problems, which you then solve with Prettier. The combination of two is life changing.