Skip to content

Commit caff1ce

Browse files
committed
fix: Upgrade @prantlf/jsonlint to support number of spaces as the indent option
1 parent 82a1201 commit caff1ce

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ This is a fork of the original package with the following enhancements:
1313
* Supports [JSON Schema] drafts 04, 06 and 07.
1414
* Optionally recognizes JavaScript-style comments and single quoted strings.
1515
* Optionally ignores trailing commas and reports duplicate object keys as an error.
16+
* Can sort object keys alphabetically.
17+
* Offers pretty-printing including comment-stripping and object keys without quotes (JSON5).
1618
* Prefers using the 7x faster native JSON parser, if possible.
1719
* Optionally reformats the output JSON and sorts object keys alphabetically.
1820
* Offers alternative error location formatters and message reporters.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"ansi-colors": "4.1.1",
4747
"fancy-log": "1.3.3",
48-
"@prantlf/jsonlint": "10.0.2",
48+
"@prantlf/jsonlint": "10.1.0",
4949
"map-stream": "0.0.7",
5050
"plugin-error": "1.0.1",
5151
"through2": "3.0.1"

0 commit comments

Comments
 (0)