2 years ago

#56066

test-img

j obe

Is this the difference between an eslint-config and eslint-plugin?

I have been reading various documentation to try to understand the difference between why we add an eslint-plugin and why we might use an eslint-config, I've found it quite confusing but this is my understanding if someone can please confirm or correct.

eslint-config packages are installed as they contain a configuration of a standard set of baseline rules provided by eslint which have been customised in some way eg the airbnb config.

eslint-plugin packages are installed as they cover new rules only which aren't in the baseline set of rules provided by eslint eg for using libraries like react or vue.

Am I correct in this understanding?

javascript

node.js

eslint

lint

eslintrc

0 Answers

Your Answer

Accepted video resources