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
When trying to enable the recommended-type-checked from typescript eslint, I found out that most of ts-mockito argument matchers are actually unsafe since most of them returns any, which completely disables type checking.
An example of a common violated rule when using argument matchers, is no-unsafe-argument
Probably, returning any should be avoided for all argument matchers. Here's a suggestion that I'm evaluating:
When trying to enable the recommended-type-checked from typescript eslint, I found out that most of
ts-mockito
argument matchers are actually unsafe since most of them returnsany
, which completely disables type checking.An example of a common violated rule when using argument matchers, is no-unsafe-argument
Probably, returning
any
should be avoided for all argument matchers. Here's a suggestion that I'm evaluating:The text was updated successfully, but these errors were encountered: