Documentation ¶
Overview ¶
Package nolint implements the ability for consumers of the linters exposed in lintroller to explicitly ignore linter errors for the linters that report on specific lines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pass ¶
Pass is a wrapper around *analysis.Pass that accounts for nolint directives. Please never initialize this type directly, only through PassWithNoLint. If you initialize this type directly, it will essentially be a no-op wrapper around *analysis.Pass.
func PassWithNoLint ¶
PassWithNoLint returns a wrapped version of *analysis.Pass as Pass with nolint directives identified for the provided linter name.
Click to show internal directories.
Click to hide internal directories.