-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
enhancementNew feature or improvementNew feature or improvementlinter: newSupport new linterSupport new linterno decisionNo decision to fix or notNo decision to fix or not
Description
Your feature request related to a problem? Please describe.
The idescriptive
linter reports obscure interfaces, complaining about funcs whose in/out parameters are unnamed.
type BadSingleParam interface {
NoReturn(int) // want `missing name for incoming parameter int in method NoReturn\(int\)`
SingleReturn(bool) (x int) // want `missing name for incoming parameter bool in method SingleReturn\(bool\) \(x int\)`
DoubleReturn(Empty) (y int, err error) // want `missing name for incoming parameter Empty in method DoubleReturn\(Empty\) \(y int, err error\)`
}
https://github.com/maratori/idescriptive
Describe the solution you'd like.
—
Describe alternatives you've considered.
—
Additional context.
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementlinter: newSupport new linterSupport new linterno decisionNo decision to fix or notNo decision to fix or not