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

@ -53,6 +53,7 @@ import md054 from "./md054.mjs";
import md055 from "./md055.mjs";
import md056 from "./md056.mjs";
import md058 from "./md058.mjs";
import md059 from "./md059.mjs";
const rules = [
md001,
@ -108,7 +109,8 @@ const rules = [
md055,
md056,
// md057: See https://github.com/markdownlint/markdownlint
md058
md058,
md059
];
for (const rule of rules) {
const name = rule.names[0].toLowerCase();