Skip to content

Rule proposal: Sort defaultProps static property #281

Closed
@roadhump

Description

@roadhump

It would be nice to force the same order for propTypes and defaultProps inside class. New rule for this seems like the copy of jsx-sort-prop-types, so probably it would be better to extend jsx-sort-prop-types to apply to defaultProps.

Metadata

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