0.12.0
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array. - Ensure
.jsonfile extensions are matched in an"includes"pattern. - Add a
"json"configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
{ // ...etc... "json": { // json config goes here }, "includes": [ "**/*.{json}" ], "plugins": [ "https://plugins.dprint.dev/json-0.12.0.wasm" ] }