@diplodoc/yfmlint 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -21597,9 +21597,10 @@ var yfm003 = {
21597
21597
  return child.type === "link_open";
21598
21598
  }).forEach((link) => {
21599
21599
  if (link.attrGet("YFM003")) {
21600
+ const linkHrefError = `[Unreachable link: "${link.attrGet("href")}"]`;
21600
21601
  onError({
21601
21602
  lineNumber: link.lineNumber,
21602
- context: link.line
21603
+ context: linkHrefError + link.line
21603
21604
  });
21604
21605
  }
21605
21606
  });