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

Consider enabling @shopify/prefer-early-return #754

Open
1 task
EvgenyOrekhov opened this issue Jun 14, 2023 · 2 comments
Open
1 task

Consider enabling @shopify/prefer-early-return #754

EvgenyOrekhov opened this issue Jun 14, 2023 · 2 comments

Comments

@EvgenyOrekhov
Copy link
Owner

@shopify/prefer-early-return

@coderaiser
Copy link

It should already do the thing by 🐊@putout/plugin-apply-early-return.

@silverwind
Copy link

Shopify plugin has a maximumStatements option and because of that, it seems superior. Would set it to at least 3 or 4 to not be too annoying.

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

No branches or pull requests

3 participants