Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jan 6, 2025
1 parent 47db690 commit 2b93c7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/md059.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const defaultBannedNames = [
/** @type {import("markdownlint").Rule} */
export default {
"names": [ "MD059", "no-generic-link-name" ],
"description": "Links should have a descriptive name. Avoid setting generic text like 'Click here' or 'Learn more'.",
"description": "Links should have a descriptive name",
"tags": [ "links", "accessibility" ],
"parser": "micromark",
"function": function MD059(params, onError) {
Expand Down
20 changes: 10 additions & 10 deletions test/snapshots/markdownlint-test-scenarios.mjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13523,7 +13523,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 8,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand Down Expand Up @@ -41090,7 +41090,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 3,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand Down Expand Up @@ -41130,7 +41130,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 9,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -41143,7 +41143,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 11,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -41156,7 +41156,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 13,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -41169,7 +41169,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 15,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -41182,7 +41182,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 17,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -41195,7 +41195,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 19,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand Down Expand Up @@ -55487,7 +55487,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 12,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand All @@ -55500,7 +55500,7 @@ Generated by [AVA](https://avajs.dev).
errorRange: null,
fixInfo: null,
lineNumber: 13,
ruleDescription: 'Links should have a descriptive name. Avoid setting generic text like \'Click here\' or \'Learn more\'.',
ruleDescription: 'Links should have a descriptive name',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md059.md',
ruleNames: [
'MD059',
Expand Down
Binary file modified test/snapshots/markdownlint-test-scenarios.mjs.snap
Binary file not shown.

0 comments on commit 2b93c7e

Please sign in to comment.