Add rule MD059/descriptive-link-text "Link text should be descriptive" (fixes #681).

This commit is contained in:
Kate Higa 2025-01-06 11:35:17 -05:00 committed by David Anson
parent 4117394250
commit b8374ec5d2
40 changed files with 1159 additions and 234 deletions

View file

@ -556,6 +556,18 @@ for (const rule of rules) {
}
};
break;
case "MD059":
scheme.properties = {
"link_texts": {
"description": "List of restricted link texts",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
};
break;
default:
custom = false;
break;