prettier / prettier-eslint-cli

CLI for prettier-eslint
https://npm.im/prettier-eslint-cli
MIT License
542 stars 85 forks source link

What different beween use prettier-eslint-cli and use prettier and eslint step by step? #398

Closed thanhkaiba closed 2 years ago

thanhkaiba commented 3 years ago

I use prettier-eslint-cli for my project. I wonder should I just use prettier -- write and eslint --fix instead use this prettier-eslint-cl?

davidmondok commented 2 years ago

I'm wondering about this too

idahogurl commented 2 years ago

The difference is explained in the Prettier-ESLint README here https://github.com/prettier/prettier-eslint#the-problem. Essentially ESLint and Prettier can have conflicting settings and prettier-eslint attempts to resolve those differences by looking at both your Prettier and ESLint configurations and making a single rule set.

davidmondok commented 2 years ago

Thanks for the explanation!