You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should take benefit of the inbuilding v2 to rename the .catch() commands.
One of the reason is that is connote a promise method, error handling of other command.
Besides it's usage is wrongly flagged as error by the common used promised eslint config with rule promise/catch-or-return
I'm not sure on which name we should use, but something around miss like onCommandMiss, or onNonMatchingCommand, or maybe better and simplerfallback
The text was updated successfully, but these errors were encountered:
I think we should take benefit of the inbuilding v2 to rename the
.catch()
commands.One of the reason is that is connote a promise method, error handling of other command.
Besides it's usage is wrongly flagged as error by the common used promised eslint config with rule
promise/catch-or-return
I'm not sure on which name we should use, but something around
miss
likeonCommandMiss
, oronNonMatchingCommand
, or maybe better and simplerfallback
The text was updated successfully, but these errors were encountered: