You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pre-commit run --files a.jsonnet b.jsonnet
jsonnetfmt...............................................................Passed
jsonnet-lint.............................................................Failed
- hook id: jsonnet-lint
- exit code: 1
ERROR: only one file is allowed
Therefore, if you install the pre-commit hook, commits that involve changes to multiple jsonnet files will fail.
This is a little bit inconvenient for development.
Is there any reason to jsonnet-lint accept only one file?
May I open a pull request to change to accept multiple jsonnet files?
The text was updated successfully, but these errors were encountered:
If you don't have time for implementing the full solution, I would also be happy to accept the updated to the CLI which just calls linter on each file in a loop with an appropriate TODO. It's not as efficient, but it's still a step in the right direction.
pre-commit hook of jsonnet-lint failed when passing multiple jsonnet files.
Therefore, if you install the pre-commit hook, commits that involve changes to multiple jsonnet files will fail.
This is a little bit inconvenient for development.
Is there any reason to
jsonnet-lint
accept only one file?May I open a pull request to change to accept multiple jsonnet files?
The text was updated successfully, but these errors were encountered: