Releases: dprint/dprint-plugin-json
Releases · dprint/dprint-plugin-json
0.21.3
Changes
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
0.21.2
Changes
- perf: upgrade to jsonc-parser 0.31 (#46)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.21.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.21.1
Changes
- fix: update to jsonc-parser 0.28 (#44)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.21.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.21.0
Changes
- feat: support hexadecimal numbers, plus sign on numbers, and properties with underscores (#42)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.21.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.20.0
Changes
- feat: dprint-core 0.47 (#41)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.20.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.19.4
Changes
- fix: update jsonc-parser to 0.26 (#39)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.19.3
Changes
- fix: strip bom (#37)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.19.2
Changes
- perf: upgrade dprint-core to 0.66 (#33)
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.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.19.1
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array. - Add a
"json"configuration property if desired.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.19.0
Adds a "jsonTrailingCommaFiles" option for determining which json files should be treated as jsonc when "trailingCommas": "json":
"json": {
"jsonTrailingCommaFiles": ["tsconfig.json", ".vscode/settings.json"]
}Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array. - Add a
"json"configuration property if desired.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.21.3.wasm" ] }