no-empty-links
What it does
Section titled “What it does”Reports a link whose destination is empty or only # ([docs](), [docs](#)).
Why it matters
Section titled “Why it matters”A link with no target does nothing or reloads the page, and it usually marks a link that was never filled in or lost its URL while editing.
To fix, add the destination, or write plain text.
Example
Section titled “Example”A [docs]() and [anchor](#) and [ok](#top) link.Configuration
Section titled “Configuration”markdown: lint: rules: no-empty-links: warn # off, warn (default), errorEnabled by the presets: markdown/markdownlint.
Suppress one line with sudsy-disable-next-line no-empty-links in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| markdownlint | MD042 |
full |