ajv-validator / ajv-validator/ajv-cli
ajv-cli can't validate a file that doesn't have .json for extension
Open
- Dominant language
- TypeScript
- Stars
- 316
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I've just installed `ajv-cli` with `npm install -g ajv-cli` and trying to validate a file named e.g. `foo.bar` fails with
```
error: Unexpected token ':'
```
Renaming the file to `foo.json` works
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.