Suggestion
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
Following #41016 a flag was added to consider catch variables as unknown.
For consistency and since they're similar cases, I suggest also adding a flag that does this for .catch callbacks on promises.
See also: eslint-plugin-etc/no-implicit-any-catch
Suggestion
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
Following #41016 a flag was added to consider
catchvariables asunknown.For consistency and since they're similar cases, I suggest also adding a flag that does this for
.catchcallbacks on promises.See also: eslint-plugin-etc/no-implicit-any-catch