Documentation ¶
Overview ¶
Package nolintlint provides a linter to 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 BaseIssue ¶
type BaseIssue struct {
// contains filtered or unexported fields
}
func (BaseIssue) Replacement ¶
func (b BaseIssue) Replacement() *result.Replacement
type ExtraLeadingSpace ¶
type ExtraLeadingSpace struct {
BaseIssue
}
func (ExtraLeadingSpace) Details ¶
func (i ExtraLeadingSpace) Details() string
func (ExtraLeadingSpace) String ¶
func (i ExtraLeadingSpace) String() string
type Linter ¶
type Linter struct {
// contains filtered or unexported fields
}
type Needs ¶
type Needs uint
const ( NeedsMachineOnly Needs = 1 << iota NeedsSpecific NeedsExplanation NeedsUnused NeedsAll = NeedsMachineOnly | NeedsSpecific | NeedsExplanation )
type NoExplanation ¶
type NoExplanation struct { BaseIssue // contains filtered or unexported fields }
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
type ParseError ¶
type ParseError struct {
BaseIssue
}
func (ParseError) Details ¶
func (i ParseError) Details() string
func (ParseError) String ¶
func (i ParseError) String() string
type UnusedCandidate ¶
func (UnusedCandidate) Details ¶
func (i UnusedCandidate) Details() string
func (UnusedCandidate) String ¶
func (i UnusedCandidate) String() string
Click to show internal directories.
Click to hide internal directories.