mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Allow "$schema" field in .markdownlint.json schema (fixes #227).
This commit is contained in:
parent
e9b3cc4c18
commit
eacfa6142b
2 changed files with 11 additions and 0 deletions
|
@ -18,6 +18,12 @@ const schema = {
|
|||
"description": "Path to configuration file to extend",
|
||||
"type": "string",
|
||||
"default": null
|
||||
},
|
||||
"$schema": {
|
||||
"description": "JSON Schema URI (used by some editors)",
|
||||
"type": "string",
|
||||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint" +
|
||||
"/master/schema/markdownlint-config-schema.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
"type": "string",
|
||||
"default": null
|
||||
},
|
||||
"$schema": {
|
||||
"description": "JSON Schema URI (used by some editors)",
|
||||
"type": "string",
|
||||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/master/schema/markdownlint-config-schema.json"
|
||||
},
|
||||
"MD001": {
|
||||
"description": "MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time",
|
||||
"type": "boolean",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue