DEV Community

Discussion on: How to make ESLint work with Prettier avoiding conflicts and problems

Collapse
 
amatana profile image
Ana Amat

Loved it, it was very easy to follow and friendly.
I just had a problem when adding the "prettier/prettier" : "error", inside the rules at the .eslintrc file. It caused many errors that wouldnt allow the app to compile.
I took it and all went again smoothly. Any comments?
Questions are:

  • What does the "prettier/prettier" rule means?
  • The most secure way to ensure a proper work among ESlint & Prettier is to install both eslint-plugin-prettier and eslint-config-prettier dev dependencies? Right?

Appreciatte your answer!
Thank you!