Skip to content

Fixer is incorrectly handling rest properties #11

Closed
@briandastous

Description

@briandastous

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.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions