Closed tzvatot closed 6 years ago
@tzvatot sorry for such a late reply - yes, the behavior right not is that it will fail for non-json file. I'll implement #10 this week to allow the use case you are describing
@tzvatot please use onlyWithJsonExtension in 1.2.0
Thanks @alenkacz . Does it run recursively on the target folder?
If I want to validate ALL the jsons in the project, I can provide the root directory. But it's not clear from the README how will the validator identify the files to validate? will it scan for *.json files? or any file that is in the directory will be validated?