Can prefix schema names with 'jsonld:', 'microdata:', 'rdfa:' to check for a schema specified in a particular way.
Added ability to nest presets in other presets.
Added ability to preform a conditional check to determine if any tests in a preset should be run.
Added ability to preform a conditional check to determine if a specific test from a preset should be run.
Created new preset called 'Google' and moved existing schema presets into it.
Created new preset called 'SocialMedia', containing Twitter and Facebook presets.
Updated README and inline documentation.
Tag any relevant existing issues.
Resolves #7, #6 and partially resolves #5.
Checklist
If you would like your code to be merged into master and released, please complete this checklist and raise a Pull Request.
[x] Review commit history and ensure messages follow best practice (short, imperative, well written, combine commits where appropriate).
[x] Ensure branch is up-to-date with master before raising a Pull Request (e.g. run git rebase origin/master).
[x] Ensure commit history does not include any merges (use rebase, not merge).
[x] Ensure all existing unit tests still run and pass.
[x] Add additional unit test coverage where possible.
[x] Keeping dependancies up to date and running npm audit fix to fix flagged issues is appreciated.
[x] Respect existing conventions (e.g. this repository uses JavaScript not Typescript, and NPM not yarn).
NB: If you just want to discuss a proposed change or if are still going through the checklist, you can raise a Draft Pull Request without going through the checklist first.
Summary
Split
presets
andschemas
options.Detail
Tag any relevant existing issues.
Resolves #7, #6 and partially resolves #5.
Checklist
If you would like your code to be merged into master and released, please complete this checklist and raise a Pull Request.
git rebase origin/master
).npm audit fix
to fix flagged issues is appreciated.NB: If you just want to discuss a proposed change or if are still going through the checklist, you can raise a Draft Pull Request without going through the checklist first.