Documentation
¶
Overview ¶
Package reporter provides a reporter for linting issues.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct {
Rule string `json:"rule"`
Message string `json:"message"`
Range ast.Range `json:"range"`
Severity Severity `json:"severity"`
}
Issue represents a linting issue found in the code.
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter represents a reporter for linting issues.
func NewReporter ¶
NewReporter creates a new reporter.
func (*Reporter) PrintIssues ¶
PrintIssues prints all issues to the output file.
Click to show internal directories.
Click to hide internal directories.