es-tooling / eslint-plugin-depend

An ESLint plugin for suggesting optimisations in choice of dependency, native equivalents, etc.
MIT License
349 stars 5 forks source link

Option for allowing some "banned" dependencies #23

Closed zloirock closed 5 months ago

zloirock commented 5 months ago

In some cases, it could be good to have an option to allow some "banned" dependencies - for example, it's not always possible to replace it with an alternative immediately, and .json files do not allow eslint-disable comments.

43081j commented 5 months ago

that makes sense to me, some kind of allow list we can pass to the ban-dependencies rule

would be open to contributions to introduce that