Documentation
¶
Overview ¶
Package lint implements Vale's syntax-aware linting functionality.
The package is split into core linting logic (this file), source code (code.go), and markup (markup.go).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedHTMLWriter ¶
type ExtendedHTMLWriter struct {
*org.HTMLWriter
}
func (*ExtendedHTMLWriter) WriteComment ¶
func (w *ExtendedHTMLWriter) WriteComment(n org.Comment)
type Linter ¶
A Linter lints a File.
func (*Linter) LintString ¶
LintString src according to its format.
func (*Linter) SetMetaScope ¶ added in v3.9.4
SetMetaScope sets an optional meta scope.
A meta scope is a string that is appended to the end of each check's scope providing extra context for the check.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.