azz / prettier-tslint

Code ➡️ prettier ➡️ tslint --fix ➡️ Formatted Code ✨
https://npm.im/prettier-tslint
MIT License
225 stars 13 forks source link

What exactly this combo does that prettier can't? #29

Closed ackvf closed 5 years ago

ackvf commented 5 years ago

I am quite confused by all the different npm packages and the various approaches to set up a project properly.

I wonder what benefits using prettier+prettier-tslint bring and how does it compare to tslint-config-prettier ?

azz commented 5 years ago

The only reason you'd want this package is if you want custom formatting rules from tslint to take precedence over Prettier. If you're happy with Prettier's formatting you should use tslint-plugin-prettier.