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

fix: sortProps not working #51

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

fix: sortProps not working #51

wants to merge 5 commits into from

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