Releases: dprint/dprint-plugin-json
Releases · dprint/dprint-plugin-json
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
0.18.0
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.18.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.17.4
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.17.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.17.3
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.json
file extensions are matched in an"includes"
pattern. - Add a
"json"
configuration property if desired.{ // ...etc... "json": { // json config goes here }, "includes": [ "**/*.{json}" ], "plugins": [ "https://plugins.dprint.dev/json-0.17.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.17.2
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.json
file extensions are matched in an"includes"
pattern. - Add a
"json"
configuration property if desired.{ // ...etc... "json": { // json config goes here }, "includes": [ "**/*.{json}" ], "plugins": [ "https://plugins.dprint.dev/json-0.17.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.17.1
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.json
file extensions are matched in an"includes"
pattern. - Add a
"json"
configuration property if desired.{ // ...etc... "json": { // json config goes here }, "includes": [ "**/*.{json}" ], "plugins": [ "https://plugins.dprint.dev/json-0.17.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package