Skip to content

Commit a036018

Browse files
committed
feat: Introduce built-in error location formatters and message reporters
The actual change was merged by bf6e400. This change only mentions it in the documentation.
1 parent 8c0b01a commit a036018

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
[![Dependency Status](https://david-dm.org/prantlf/gulp-jsonlint.svg)](https://david-dm.org/prantlf/gulp-jsonlint)
66
[![devDependency Status](https://david-dm.org/prantlf/gulp-jsonlint/dev-status.svg)](https://david-dm.org/prantlf/gulp-jsonlint#info=devDependencies)
77

8-
> [JSON]/[JSON5] file syntax validation plugin for [`gulp`] using [`jsonlint`]
8+
> [JSON]/[JSON5] file syntax validation plugin for [`Gulp`] using [`JSONLint`]
99
1010
This is a fork of the original package with the following enhancements:
1111

1212
* Validates with both [JSON] and [JSON5] standards.
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-
* Prefers using the 8x faster native JSON parser, if possible.
16+
* Prefers using the 7x faster native JSON parser, if possible.
1717
* Optionally reformats the output JSON and sorts object keys alphabetically.
18+
* Offers alternative error location formatters and message reporters.
1819
* Depends on up-to-date npm modules with no installation warnings.
1920

2021
## Usage
@@ -254,8 +255,8 @@ Copyright (C) 2013-2019 Rogério Vicente, Ferdinand Prantl
254255
Licensed under the [MIT License].
255256

256257
[MIT License]: http://en.wikipedia.org/wiki/MIT_License
257-
[`gulp`]: http://gulpjs.com/
258-
[`jsonlint`]: https://prantlf.github.io/jsonlint/
258+
[`Gulp`]: http://gulpjs.com/
259+
[`JSONLint`]: https://prantlf.github.io/jsonlint/
259260
[JSON]: https://tools.ietf.org/html/rfc8259
260261
[JSON5]: https://spec.json5.org
261262
[JSON Schema]: https://json-schema.org

0 commit comments

Comments
 (0)