Skip to content
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

(SDK-299) Check metadata.json syntax before linting #133

Merged
merged 4 commits into from
Jul 7, 2017

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Jul 6, 2017

Adds a new validator (metadata-syntax) that uses json_pure to ensure the JSON files are syntactically correct before PDK::Validate::MetadataJSONLint is invoked. I'm forcing it to use json_pure for this because it provides much more useful error messages than the C extension.

@rodjek rodjek force-pushed the sdk-299 branch 2 times, most recently from 45ad4d0 to d1170af Compare July 6, 2017 05:11
@rodjek rodjek changed the title [WIP] (SDK-299) Check metadata.json syntax before linting (SDK-299) Check metadata.json syntax before linting Jul 6, 2017
@scotje scotje merged commit cd971e0 into puppetlabs:master Jul 7, 2017
@rodjek rodjek deleted the sdk-299 branch July 9, 2017 04:57
@bmjen bmjen added the feature label Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants