Skip to content

0.25.1

Choose a tag to compare

@github-actions github-actions released this 01 Oct 22:52
· 6 commits to main since this release

Changes

  • fix: keep // comment keys with the field below them in package.json (#73)
  • fix: keep // comment keys with the field below them in sorted package.json sections (#74)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array (can be done via dprint config add json).
  2. Add a "json" configuration property if desired.
    {
      // ...etc...
      "json": {
        // json config goes here
      },
      "plugins": [
        "npm:@dprint/json@0.25.1"
      ]
    }

JS Formatting API