Add new MD054/link-image-style rule (in-progress PR, no generated files).

This commit is contained in:
Tommy G 2023-10-24 21:07:46 -07:00 committed by David Anson
parent 20b8af5054
commit 460836445c
14 changed files with 296 additions and 11 deletions

View file

@ -519,6 +519,24 @@ for (const rule of rules) {
}
};
break;
case "MD054":
scheme.properties = {
"style": {
"description": "Link or image style should be consistent",
"type": "string",
"enum": [
"mixed",
"autolink_only",
"inline_only",
"reference_only",
"inline_or_reference",
"inline_or_autolink",
"reference_or_autolink"
],
"default": "mixed"
}
};
break;
default:
custom = false;
break;