prettier / eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.
MIT License
5.34k stars 251 forks source link

Prettier overrides Eslint #241

Closed prince-of-maroc closed 1 year ago

prince-of-maroc commented 1 year ago

This package doesn't seem to be working for me. I have configured ESLint with the Airbnb style guide, but Prettier is not adapting to this. For example, Prettier is throwing errors for single quotes, even though the Airbnb style guide requires single quotes.

Is there something else I should be doing if I am using a style guide for ESLint?

lydell commented 1 year ago

Hi! That’s how this package works – it disables parts of ESLint and lets Prettier decide. It does not configure Prettier in any way.

If you would like it to be the other way around (which I don’t recommend, but anyway), you can try prettier-eslint.