Repository navigation
0.24.0
Changes
- feat: add eofNewLine config (#66)
- feat: add on by default
packageJson.applyConventionsconfig for sorting a package.json (#64) - feat: add spaceSurroundingProperties config (#59)
- feat: support globs in
jsonTrailingCommaFiles(#65) - fix: escape raw control characters in strings (#67)
- fix: ignore comments apply to trailing commas (#69)
- fix: upgrade to dprint-core 0.69.1 (#61)
- perf: reduce allocations (#68)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array (can be done viadprint config add json). - Add a
"json"configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
{ // ...etc... "json": { // json config goes here }, "plugins": [ "npm:@dprint/json@0.24.0" ] }