not-an-aardvark / eslint-plugin-self

Allows ESLint plugins to lint themselves
MIT License
18 stars 4 forks source link

This is awesome. #6

Closed ErisDS closed 3 years ago

ErisDS commented 3 years ago

Thanks for making this module ❤️ it's SUPER COOL.

We have our own "shared config" eslint plugin that we use to ensure code standards. It uses several plugins, like eslint-plugin-node and eslint-plugin-mocha to expose a bunch of really useful rules.

So that every library that uses our eslint plugin doesn't have to also directly require those plugins, we export the plugins with prefixes as per this eslint issue.

Recently when I added a new global rule deprecating a module using eslint-plugin-node's "no-restricted-require" I got a bunch of errors because our existing method of linting ourself didn't get those prefixes.

Installed this module and it automatically just works.

Lifesaver!

I'll insta close this as I don't want anything, just wanted to say thank you and share how this is being used somewhere ❤️