Skip to content

Proposal: Allow react/sort-prop-types to only sort by callbacks and required properties and not alphabetically #786

Closed
@HenriBeck

Description

@HenriBeck

Proposal

Add another option to sort-prop-types called noSortAlphabetically that will allow disabling sorting the props by alphabet when the user wants it.

I would be happy to create a pull request.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ljharb@lencioni@HenriBeck

        Issue actions

          Proposal: Allow react/sort-prop-types to only sort by callbacks and required properties and not alphabetically · Issue #786 · jsx-eslint/eslint-plugin-react