cli
cli copied to clipboard
subcommand to validate `dependabot.yml` file
There used to be a way in order to check syntax of a dependabot config file. Would it be possible to add that functionality apart of this tool? If so, would it be possible to address the concerns brought up in the issue below under this cli tool and even possibly moving that issue under this repository?
- https://github.com/dependabot/dependabot-core/issues/4605
From my use perspective, it would be awesome if I could run a dependabot lint -f /path/to/dependabot.yml
.
Interesting idea, but we'd probably need this first:
- https://github.com/dependabot/dependabot-core/issues/1927
There is some additional dynamic validation we do that can't be expressed in a JSON Schema, but it'd at least be a step in the right direction.
Although if we publish a JSON Schema, there's plenty of existing tooling available for using that to lint, so we'd only want to add it to CLI here if we were sure the ongoing maintenance would be minimal.
To clarify, @jlosito you're requesting syntax validation here, not linting, right? They're not quite the same thing.
Correct. Sorry for the confusion.