Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct { // Severity - the severity of the issue. Severity IssueSeverity // Message - the message to display to the user. Message string // Node - the node that triggered the issue. Node ast.Node }
Issue is a linting issue.
type IssueSeverity ¶
type IssueSeverity string
IssueSeverity is the severity of an issue.
const ( // IssueSeverityError is an error issue, which cannot be ignored by code comment. IssueSeverityError IssueSeverity = "ERROR" // IssueSeverityWarning is a warning issue, which can be ignored by code comment. IssueSeverityWarning IssueSeverity = "WARNING" )
Click to show internal directories.
Click to hide internal directories.