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