mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
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:
parent
e07eb4bf73
commit
dd6fe21ac7
4 changed files with 84 additions and 45 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"title": "Markdownlint configuration schema",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "markdownlint configuration schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"default": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue