There are cases in our app where developers use mixed instead of a more exact value. While there are definitely valid scenarios for mixed — e.g. on a utility/library level — they're almost never needed on an application level.
It would be nice to have the rule to disallow them.
This could be another value in a no-weak-types or a separate rule.
There are cases in our app where developers use
mixedinstead of a more exact value. While there are definitely valid scenarios formixed— e.g. on a utility/library level — they're almost never needed on an application level.It would be nice to have the rule to disallow them.
This could be another value in a
no-weak-typesor a separate rule.