Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
HenriBeck opened this issue Aug 26, 2016 · 2 comments

Comments

@HenriBeck
Copy link

HenriBeck commented Aug 26, 2016

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.

@ljharb
Copy link
Member

ljharb commented Aug 26, 2016

Or, alternatively, noSortAlphabetically - boolean option absence, and a value of false, should always have the same effect.

@HenriBeck
Copy link
Author

HenriBeck commented Aug 26, 2016

Probably would even be better for better backward compatibility.

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

No branches or pull requests

3 participants