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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.