-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature json schema #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I've made a couple of very minor remarks, but nothing that should delay merging. Also nice to see Adobe contributing useful open-source libraries!
The configuration options descriptions seem good to me. This is a nice idea as the config file has continued to grow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Fixes #55.
Using a JSON schema to validate the configuration. This allows us to catch config errors early and so increase the robustness of the downstream functions (they can expect a clean configuration file as an input).
Also rendered the JSON in the documentation, which includes a long description for every configuration option. Would be worth checking @val-ismaili whether I've got those description right...
Checklist
Any checks which are not relevant to the PR can be pre-checked by the PR creator.
All others should be checked by the reviewer(s).
You can add extra checklist items here if required by the PR.