Convert JSON schema validation to use @hyperjump/json-schema, validate against specific schema version, newly validate schema definition, add missing "$schema" property.

This commit is contained in:
David Anson 2023-09-27 22:48:01 -07:00
parent e07eb4bf73
commit dd6fe21ac7
4 changed files with 84 additions and 45 deletions

View file

@ -8,7 +8,8 @@ const rules = require("../lib/rules");
// Schema scaffolding
const schema = {
"title": "Markdownlint configuration schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "markdownlint configuration schema",
"type": "object",
"properties": {
"default": {

View file

@ -1,5 +1,6 @@
{
"title": "Markdownlint configuration schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "markdownlint configuration schema",
"type": "object",
"properties": {
"default": {