mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-03 06:28:49 +01:00
Update new rule MD059/descriptive-link-text for project-level consistency.
This commit is contained in:
parent
b8374ec5d2
commit
571c2353ea
23 changed files with 466 additions and 383 deletions
|
|
@ -558,13 +558,18 @@ for (const rule of rules) {
|
|||
break;
|
||||
case "MD059":
|
||||
scheme.properties = {
|
||||
"link_texts": {
|
||||
"description": "List of restricted link texts",
|
||||
"prohibited_texts": {
|
||||
"description": "Prohibited link texts",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
"default": [
|
||||
"click here",
|
||||
"here",
|
||||
"link",
|
||||
"more"
|
||||
]
|
||||
}
|
||||
};
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue