Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be helpful if there were an option to group keys by nesting depth before sorting them.
e.g.
At the moment, BiomeJS will format this object like so:
But I want it to format it like so -
details
stays at the bottom because it's a nested object, butid
comes first because it's not nested and alphabetically it comes beforename
.Note: when an array is not long enough to be nested on multiple lines, it can be considered with a nesting depth of 0 just like the vanilla types. So the feature request is not about types but about nesting depthness.
Beta Was this translation helpful? Give feedback.
All reactions