niksy / eslint-config-nitpick

ESLint config for my projects.
MIT License
2 stars 0 forks source link

Peer dependencies handling #49

Closed niksy closed 2 years ago

niksy commented 3 years ago

https://github.com/eslint/eslint/issues/3458#issuecomment-753534854

nkhil commented 3 years ago

Hi @niksy ,

Do you know if installing peer dependencies is still an issue with eslint shared configs? i.e. do you still need to install them all manually?

niksy commented 3 years ago

@nkhil that should be handled with npm v7

niksy commented 3 years ago

There is no need to reference React or Vue plugins if they won’t be installed if project is not React or Vue based. We only get silly warnings when installing config.

It’s better to document when to install those plugins as opposed to tell users to install them every time.

There are certain plugins that must be installed for base config to work, but all other plugins can be installed when they’re needed.