Expand description
Frameworks and rules that locate errors in text.
See the Linter trait and the documentation for authoring a rule for more information.
Structs§
- Initialism
Linter - A struct that can be composed to expand initialisms, respecting the capitalization of each item.
- Lint
- An error found in text.
- Lint
Group - A struct for collecting the output of a number of individual Linters.
Each child can be toggled via the public, mutable
Self::configobject. - Lint
Group Config - The configuration for a
LintGroup. Each child linter can be enabled, disabled, or set to a curated value. - MapPhrase
Linter - MapPhrase
SetLinter - Spell
Check
Enums§
- Lint
Kind - The general category a
Lintfalls into. There’s no reason not to add a new item here if you are adding a new rule that doesn’t fit the existing categories. - Suggestion
- A suggested edit that could resolve a
Lint.
Traits§
- Expr
Linter - A trait that searches for tokens that fulfil
Exprs in aDocument. - Html
Description Linter - A blanket-implemented trait that renders the Markdown description field of a linter to HTML.
- Linter
- A stateless rule that searches documents for grammatical errors.