keithamus/sort-package-json

[Feature Request] Keep the unknown fields their order

Open

#276 opened on Nov 14, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (101 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (913 stars)
PR merge metrics
 (PR metrics pending)

Description

For example:

{
    xxx: 1,
    name: "abc"
}

When format it, I hope the unknown field xxx still is above the name.

Contributor guide