Skip to content

Commit

Permalink
Fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jan 7, 2025
1 parent 163c50b commit c235d1f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion doc/Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion doc/md059.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions schema/markdownlint-config-schema-strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@
"object"
],
"properties": {
"banned_link_texts": {
"banned_link_texts_override": {
"description": "List of banned link texts",
"type": "array",
"items": {
Expand All @@ -1741,7 +1741,7 @@
"object"
],
"properties": {
"banned_link_texts": {
"banned_link_texts_override": {
"description": "List of banned link texts",
"type": "array",
"items": {
Expand Down
4 changes: 2 additions & 2 deletions schema/markdownlint-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@
"object"
],
"properties": {
"banned_link_texts": {
"banned_link_texts_override": {
"description": "List of banned link texts",
"type": "array",
"items": {
Expand All @@ -1741,7 +1741,7 @@
"object"
],
"properties": {
"banned_link_texts": {
"banned_link_texts_override": {
"description": "List of banned link texts",
"type": "array",
"items": {
Expand Down

0 comments on commit c235d1f

Please sign in to comment.