What is the difference between extends and plugins in ESLint config
Hey there!
When I first started setting up ESLint in my projects, I often used to get confused about the difference between eslint-plugin-xxx
and eslint-config-xxx
npm modules, and why some ask you to add something to the plugins
key in your project's ESLint config while others ask you to modify the extends
key.
If you have also gone through the same confusion or you are new to this and want a brief overview of what ESLint does and why it is one of the most popular JavaScript Linters out there then you should definitely check this one out.
Give it a read here! - What is the difference between extends and plugins in ESLint config
Also have a great weekend ahead ;)
Cheers,
Prateek
Don't miss what's next. Subscribe to Prateek's Blog: