why

package
v1.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package why contains the necessary logic for the why linter. The why linter ensures that all nolint directives contain a followup // Why: ... statement after the nolint as well as no naked nolint directives exist (//nolint as opposed to //nolint:specificLinter).

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = analysis.Analyzer{
	Name: name,
	Doc:  doc,
	Run:  why,
}

Analyzer exports the why analyzer (linter).

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL