Documentation
¶
Overview ¶
Package lint implements Vale's syntax-ware linting functionality.
The package is split into core linting logic (this file), source code (code.go), and markup (markup.go). The general flow is to first read input into `Lint` (files and directories) or `LintString` (stdin) and then pass the processed input off to `lintFile` to choose a linter based on its format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Context string // parent content (if any) - e.g., sentence -> paragraph
Text string // text content
Scope core.Selector // section selector
}
A Block represents a section of text.
Click to show internal directories.
Click to hide internal directories.