remark-lint rule to warn on empty URLs in links, images, and definitions. Version 4.0.1 is the current stable release, compatible with unified ecosystem and Node.js 16+. ESM-only since v3. Differentiates from generic linting by providing focused, low-overhead checks for empty URLs in Markdown, with no configuration options needed.
npm install remark-lint-no-empty-urlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates setting up the remark lint pipeline with the no-empty-url rule, parsing Markdown and reporting warnings.
Use ES module import syntax or switch to v2 if CJS required.
Upgrade to v4.0.1 and use ESM import.
Ensure pipeline order: .use(remarkParse).use(remarkLint).use(remarkLintNoEmptyUrl).use(remarkStringify)
If intentional, use a different rule or disable this one.
Change to dynamic import or use ESM syntax.
Add .use(remarkParse) and .use(remarkStringify) before processing.
Use correct pattern, e.g., '**/*.md'.