diff --git a/doc/Rules.md b/doc/Rules.md index 5c880f95d..aa2ad8677 100644 --- a/doc/Rules.md +++ b/doc/Rules.md @@ -2536,7 +2536,8 @@ Aliases: `descriptive-link-text` Parameters: -- `banned_link_texts`: List of banned link texts (`string[]`, default `[]`) +- `banned_link_texts_override`: List of banned link texts (`string[]`, default + `[]`) This rule is triggered when a link is set with non-descriptive text like "Click here", "here", or "learn more", giving it a generic accessible name. diff --git a/doc/md059.md b/doc/md059.md index 348f7ac5b..1b50f5501 100644 --- a/doc/md059.md +++ b/doc/md059.md @@ -6,7 +6,8 @@ Aliases: `descriptive-link-text` Parameters: -- `banned_link_texts`: List of banned link texts (`string[]`, default `[]`) +- `banned_link_texts_override`: List of banned link texts (`string[]`, default + `[]`) This rule is triggered when a link is set with non-descriptive text like "Click here", "here", or "learn more", giving it a generic accessible name. diff --git a/schema/markdownlint-config-schema-strict.json b/schema/markdownlint-config-schema-strict.json index 9a9e7adf2..53b87c077 100644 --- a/schema/markdownlint-config-schema-strict.json +++ b/schema/markdownlint-config-schema-strict.json @@ -1723,7 +1723,7 @@ "object" ], "properties": { - "banned_link_texts": { + "banned_link_texts_override": { "description": "List of banned link texts", "type": "array", "items": { @@ -1741,7 +1741,7 @@ "object" ], "properties": { - "banned_link_texts": { + "banned_link_texts_override": { "description": "List of banned link texts", "type": "array", "items": { diff --git a/schema/markdownlint-config-schema.json b/schema/markdownlint-config-schema.json index e99a516b1..02243ae1f 100644 --- a/schema/markdownlint-config-schema.json +++ b/schema/markdownlint-config-schema.json @@ -1723,7 +1723,7 @@ "object" ], "properties": { - "banned_link_texts": { + "banned_link_texts_override": { "description": "List of banned link texts", "type": "array", "items": { @@ -1741,7 +1741,7 @@ "object" ], "properties": { - "banned_link_texts": { + "banned_link_texts_override": { "description": "List of banned link texts", "type": "array", "items": {