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

Fixer is incorrectly handling rest properties #11

Closed
briandastous opened this issue Jun 18, 2019 · 1 comment · Fixed by #13
Closed

Fixer is incorrectly handling rest properties #11

briandastous opened this issue Jun 18, 2019 · 1 comment · Fixed by #13
Assignees
Labels
bug Something isn't working

Comments

@briandastous
Copy link

Thanks for creating this useful plugin. I noticed that the fixer is incorrectly sorting rest properties to the beginning of the object literal, e.g., {a, ...rest} is changed to {...rest, a}.

I have a fix for this locally. I've never submitted a PR before on Github, but I'll try to submit one for this soon.

@mthadley
Copy link
Owner

Thanks for reporting this! Released as v1.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants