Skip to content

0.25.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 22:37
· 9 commits to main since this release

Changes

  • feat: support range formatting (#70)
  • feat: upgrade jsonc-parser to 0.34 for json5 syntax (#71)

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.0"
      ]
    }

JS Formatting API