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

Viewed 77

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?

0 Answers
Related