You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
So theorically the rule should re-order my props, in the worst case scenario, not sort them. But actually is breaking them. It's a weird output:
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Babel-ESLint
Please show your full configuration:
I created a repo to reproduce the bug: https://github.com/davesnx/eslint-bug-react-sort-props
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
npx eslint . --fix
What did you expect to happen?
So theorically the rule should re-order my props, in the worst case scenario, not sort them. But actually is breaking them. It's a weird output:
It's actually trying to sort in a weird way, and it's not consistent.
Happens with a boolean props as well
The text was updated successfully, but these errors were encountered: