Skip to content

Rule to prevent static PropTypes #1189

Closed
@rsolomon

Description

I've noticed this a few places, where people are recording propTypes under a static PropTypes member instead of the correct camelCase static propTypes. It would be helpful if there were a lint rule that checks for this, as using PropTypes doesn't fail, it just silently doesn't check.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions