Documentation
¶
Overview ¶
Package linkvalidity implements MDS062, which flags links that silently do not work: the reversed (text)[url] form (markdownlint MD011) and links or images whose destination is empty/`#` or whose visible text is empty (markdownlint MD042). The reversed form is the only autofixable defect — an empty target has no safe replacement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct{}
Rule flags reversed-syntax links and empty links/images. It is default-enabled: both shapes are correctness defects, not style choices.
func (*Rule) Check ¶
func (r *Rule) Check(f *lint.File) []lint.Diagnostic
Check implements rule.Rule.
Click to show internal directories.
Click to hide internal directories.