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

promise/catch-or-return will cause many empty callback of match #450

Open
kyleliu-code opened this issue Jan 29, 2024 · 1 comment
Open

Comments

@kyleliu-code
Copy link

kyleliu-code commented Jan 29, 2024

when i start promise/catch-or-return rule, i must add catch method, although i don't care about error logic .
empty catch callback makes me feel weird.

@brettz9
Copy link
Member

brettz9 commented Jul 20, 2024

That's basically the purpose of the rule. Are you proposing taking this out of the recommended config?

@voxpelli voxpelli changed the title apromise/catch-or-return will cause many empty callback of match promise/catch-or-return will cause many empty callback of match Jul 24, 2024
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

2 participants