Dogma.Rule.FunctionArity
A rule that disallows functions and macros with arity greater than 4, meaning a function may not take more than 4 arguments.
By default this function is considered invalid by this rule:
def transform(a, b, c, d, e) do
# Do something
end
The maximum allowed arity for this rule can be configured with the max
option in your mix config.
Summary
test(script) | Callback implementation for |
test(script, list2) | Callback implementation for |
Functions
Callback implementation for Dogma.Rule.test/1
.
Callback implementation for Dogma.Rule.test/2
.