Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
doclint
command
Command doclint lints, autofixes and formats Hugo markdown content and data files against built-in and user-defined rules.
|
Command doclint lints, autofixes and formats Hugo markdown content and data files against built-in and user-defined rules. |
|
internal
|
|
|
cli
Package cli wires the doclint Cobra command tree over the engine.
|
Package cli wires the doclint Cobra command tree over the engine. |
|
pkg
|
|
|
cache
Package cache memoizes per-file lint findings keyed by a content + config hash, so re-linting unchanged files is near-instant.
|
Package cache memoizes per-file lint findings keyed by a content + config hash, so re-linting unchanged files is near-instant. |
|
config
Package config loads .doclint.yaml: rule defaults/toggles, per-rule settings, ignore globs, and the declarative custom-rule block.
|
Package config loads .doclint.yaml: rule defaults/toggles, per-rule settings, ignore globs, and the declarative custom-rule block. |
|
document
Package document turns a file's bytes into a Document: raw content, fence-aware source lines, and a parsed frontmatter/data map.
|
Package document turns a file's bytes into a Document: raw content, fence-aware source lines, and a parsed frontmatter/data map. |
|
engine
Package engine discovers files, runs rules in parallel, applies inline suppression, and applies fixes or renders diffs.
|
Package engine discovers files, runs rules in parallel, applies inline suppression, and applies fixes or renders diffs. |
|
report
Package report renders findings as human-readable or JSON output.
|
Package report renders findings as human-readable or JSON output. |
|
rule
Package rule defines the Rule interface, severity/fix-safety vocabulary, and the Finding/TextEdit types every rule emits.
|
Package rule defines the Rule interface, severity/fix-safety vocabulary, and the Finding/TextEdit types every rule emits. |
|
rule/builtin
Package builtin holds programmatic (Go) rules.
|
Package builtin holds programmatic (Go) rules. |
Click to show internal directories.
Click to hide internal directories.