jsonlint-tree
v3.0.1
Published
Validate JSON files in a directory recursively
Readme
jsonlint-tree
Validate JSON files in a directory recursively
Install
npm i -g jsonlint-treeUsage
jsonlint-tree directory✓ directory/a.json
✓ directory/path/b.json
✓ directory/path/to/c.json
✗ directory/path/to/d.json
✓ 3 valid files
✗ 1 invalid filesChangelog
3.0.0
- Exit code is now
1on any failure - Drop
jsonlintdependency, it validates with a plainJSON.parsenow - Fix dir paths for NodeJS 24+
- Fix the summary not printing when non-json files are present
- Exit code is now
2.0.0
- Remove extra dependencies
- Require Node >=18.17.0
1.1.0
- It shows the number of valid and invalid files.
1.0.0
- Initial release :tada:
