Documentation ¶
Overview ¶
nolintlint provides a linter for ensure that all //nolint directives are followed by explanations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectivePatterns ¶
type DirectivePatterns struct {
// contains filtered or unexported fields
}
type Linter ¶
type Linter struct {
// contains filtered or unexported fields
}
type MultipleLeadingSpaces ¶
type MultipleLeadingSpaces struct {
BaseIssue
}
func (MultipleLeadingSpaces) Details ¶
func (i MultipleLeadingSpaces) Details() string
func (MultipleLeadingSpaces) String ¶
func (i MultipleLeadingSpaces) String() string
type Needs ¶
type Needs uint
const ( NeedsMachine Needs = 1 << iota NeedsSpecific NeedsExplanation NeedsAll = NeedsMachine | NeedsSpecific | NeedsExplanation )
type NoExplanation ¶
type NoExplanation struct {
BaseIssue
}
func (NoExplanation) Details ¶
func (i NoExplanation) Details() string
func (NoExplanation) String ¶
func (i NoExplanation) String() string
type NotMachine ¶
type NotMachine struct {
BaseIssue
}
func (NotMachine) Details ¶
func (i NotMachine) Details() string
func (NotMachine) String ¶
func (i NotMachine) String() string
type NotSpecific ¶
type NotSpecific struct {
BaseIssue
}
func (NotSpecific) Details ¶
func (i NotSpecific) Details() string
func (NotSpecific) String ¶
func (i NotSpecific) String() string
Click to show internal directories.
Click to hide internal directories.