excessivefuncparams

package
v0.75.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package excessivefuncparams implements a Go analysis linter that flags functions with too many positional parameters.

Index

Constants

View Source
const DefaultMaxParams = 8

DefaultMaxParams is the default maximum number of parameters allowed in a function declaration.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "excessivefuncparams",
	Doc:      "reports functions whose parameter count exceeds the limit (default 8 params)",
	URL:      "https://github.com/github/gh-aw/tree/main/pkg/linters/excessivefuncparams",
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Analyzer is the excessive-function-parameters analysis pass.

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