chore: also check JSON files while linting
Closes #375 (closed).
It will prevent the commits generated with --no-verify to find their way into the repo, but it's not the best fix. On releases, a separate commit that fixes the JSONs will be required.