Changes
Install
npm (recommended)
Add the npm package to your project's dprint configuration file:
GitHub
Alternatively, use the plugin from GitHub Releases:
{
"sortPackageJson": {
// sortPackageJson config goes here
},
"plugins": [
"https://github.com/colinaaa/dprint-plugin-sort-package-json/releases/download/0.2.1/plugin.wasm"
]
}
{ "sortPackageJson": { // sortPackageJson config goes here }, "plugins": [ "npm:dprint-plugin-sort-package-json@0.2.1" ] }