Skip to content

function-result-limit

Limit function result count.

Updated View as Markdown

Default severity: warning

Limit function result count.

Bad

func Parse() (Value, Metadata, Warnings, error)

Good

func Parse() (Value, error)

Configuration

Option Type Default Description
max-results int 3 Maximum number of result values allowed on a function.
[checks.function-result-limit]
max-results = 3
Navigation

Type to search…

↑↓ navigate↵ selectEsc close