mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 16:30:12 +01:00
Add rule information links to JSON schema for configuration files and corresponding examples (link is clickable in VS Code tooltips).
This commit is contained in:
parent
1a376f60bb
commit
18497ff03c
4 changed files with 177 additions and 176 deletions
|
|
@ -49,7 +49,8 @@ for (const rule of rules) {
|
|||
tags[tag] = tagRules;
|
||||
}
|
||||
const scheme = {
|
||||
"description": rule.names.join("/") + " - " + rule.description,
|
||||
"description":
|
||||
`${rule.names.join("/")} : ${rule.description} : ${rule.information}`,
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
};
|
||||
|
|
@ -557,7 +558,7 @@ for (const rule of rules) {
|
|||
// Add tags
|
||||
for (const [ tag, tagTags ] of Object.entries(tags)) {
|
||||
const scheme = {
|
||||
"description": tag + " - " + tagTags.join(", "),
|
||||
"description": `${tag} : ${tagTags.join(", ")}`,
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue