Provides a rule to limit the number of positional arguments to functions.
Set the maximum number of positional arguments allowed.
config =
[ NoTooManyPositionalArguments.rule
(NoTooManyPositionalArguments.withMaxArguments 3)
]Configuration for the rule.
Reports functions that have too many positional arguments.
When a function has more positional arguments than the configured maximum, the rule reports an error and can auto-fix it by converting to a record parameter. Call sites across the entire project are also updated.