DEV Community

Discussion on: The secret to configuring eslint, prettier, prettier-eslint plugin in VsCode for Angular, Ts, and Js Project

Collapse
 
dbrils profile image
dbrils

What is the prettier-eslint package used for? I see you added it to the dev dependencies, but I don't see it being used anywhere.

Collapse
 
codefinity profile image
Manav Misra

I didn't read the post, but guessing that it's needed to play nicely with "eslint", so the stylistic rules don't fight.
Add it to your ES Lint config, after extends. [Here's] where I use it on one of my starter template repos.

Collapse
 
dbrils profile image
dbrils

Judging from the descriptions on npm/github we only need the eslint-config-prettier plugin for that.