Skip to content

Conversation

@gnseo
Copy link

@gnseo gnseo commented Jun 5, 2020

I tried to use sortProps option to sort properties, but it didn't work.
So I've changed code as the commit to make it work.

Please review my changes, if something more needed, just let me know.
Regards.

gnseo added 3 commits June 5, 2020 15:18
I tried to use sortProps option to sort properties, but it didn't work.
So I've changed code as the commit to make it work.

Please review my changes, if something more needed, just let me know.
Regards.
Add sortOnlyRoot option to stringify function to allow restrict sorting only root properties.
@jhorbulyk
Copy link
Contributor

What was the input case which was causing sortProps not to work?

@dqsully
Copy link
Member

dqsully commented Dec 27, 2021

What is the purpose of this PR? It seems like it adds 3 different features:

  • Add sortOnlyRoot option
  • Sort comment keys with object keys
  • Change how comments are trimmed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants