You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep the order of name and dependencies, but want to make sure that the list of dependencies are sorted. I think a good approach for this would be to let the --sort-keys flag accept a number, which is the minimum depth at which it begins sorting.
npx jsonlint -s 1 -i -q package.json
The text was updated successfully, but these errors were encountered:
A package.json looks like this:
I want to keep the order of name and dependencies, but want to make sure that the list of dependencies are sorted. I think a good approach for this would be to let the
--sort-keys
flag accept a number, which is the minimum depth at which it begins sorting.The text was updated successfully, but these errors were encountered: