Skip to content

🚀 Feature: sort-collections can also sort arrays #1945

Description

@michaelfaith

Feature Request Checklist

Overview

With a name like sort collections one would think that Arrays are also being sorted, but they currently aren't. Right now, the rule just sorts object properties. Let's add array sorting to the rule as well.

Any downsides to doing this?

Additional Info

Since this would be breaking, if accepted, it would be part of our next major release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BREAKING CHANGEUsed to label changes that are considered breakingstatus: blockedWaiting for something else to be resolved 🙅type: featureNew enhancement or request 🚀

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions