Skip to content

Json schema - #219

Merged
himynameisdave merged 2 commits into
himynameisdave:masterfrom
SignpostMarv:json-schema
Nov 11, 2017
Merged

Json schema#219
himynameisdave merged 2 commits into
himynameisdave:masterfrom
SignpostMarv:json-schema

Conversation

@SignpostMarv

Copy link
Copy Markdown
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.

@himynameisdave himynameisdave left a comment

Copy link
Copy Markdown
Owner

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

Comment thread .gitignore
token.json
npm-debug.log
test/.tmp/**
yarn-error.log

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants