eslint-plugin-promise icon indicating copy to clipboard operation
eslint-plugin-promise copied to clipboard

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

Open kyleliu-code opened this issue 1 year ago • 1 comments

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.

kyleliu-code avatar Jan 29 '24 08:01 kyleliu-code

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

brettz9 avatar Jul 20 '24 10:07 brettz9