Skip to content

Add a rule to disallow mixed types #361

@kangax

Description

@kangax

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions