Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import prefer-early-return rule from another plugin? #610

Open
spaceninja opened this issue Nov 14, 2024 · 1 comment
Open

Import prefer-early-return rule from another plugin? #610

spaceninja opened this issue Nov 14, 2024 · 1 comment

Comments

@spaceninja
Copy link
Member

@Paul-Hebert wondered why we keep a copy of the prefer-early-return rule in this repo, rather than importing it from another package, perhaps this one:

For now, I wanted to rock the boat as little as possible, but it's a good idea to see if there's a maintained copy of this rule out there somewhere.

@spaceninja
Copy link
Member Author

Better idea: Grab it from the original source, the Shopify ESLint plugin: https://github.com/Shopify/web-configs/tree/main/packages/eslint-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant