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

Json schema #219

Merged
merged 2 commits into from
Nov 11, 2017
Merged

Json schema #219

merged 2 commits into from
Nov 11, 2017

Conversation

SignpostMarv
Copy link
Contributor

not 100% sure of what the precise extra-paranoid json schema would be, but this test will fail if undocumented properties are added to plugins.json- similarly, if properties are deprecated, one would ideally add a build step to remap/filter properties, then modify schema.json to reflect the change.

Copy link
Owner

@himynameisdave himynameisdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution, this is a great idea! 👌

giphub

@@ -3,3 +3,4 @@
token.json
npm-debug.log
test/.tmp/**
yarn-error.log
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪 💪 💪

@@ -1,4 +1,6 @@
const { assert } = require('chai');
const chai = require('chai');
chai.use(require('chai-json-schema'));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool, thanks for contributing! 😎

@himynameisdave himynameisdave merged commit 0cf0036 into himynameisdave:master Nov 11, 2017
@himynameisdave himynameisdave removed their assignment Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants