staticcheck

package
v0.0.0-...-8fcbe07 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

Staticcheck Nogo Compat

This package is a replacement for https://github.com/sluongng/nogo-analyzer/, which we previously used.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzers = func() map[string]*analysis.Analyzer {
	m := make(map[string]*analysis.Analyzer)
	for _, analyzers := range [][]*lint.Analyzer{
		quickfix.Analyzers,
		simple.Analyzers,
		staticcheck.Analyzers,
		stylecheck.Analyzers,
		{unused.Analyzer},
	} {
		for _, a := range analyzers {
			m[a.Analyzer.Name] = a.Analyzer
		}
	}
	return m
}()

Analyzers contains all staticcheck analyzer passes Copied from https://github.com/sluongng/nogo-analyzer/ under Apache 2.0

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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