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.

Source

Summary

test(script)

Callback implementation for Dogma.Rule.test/1

test(script, list2)

Callback implementation for Dogma.Rule.test/2

Functions

test(script)

Callback implementation for Dogma.Rule.test/1.

Source
test(script, list2)

Callback implementation for Dogma.Rule.test/2.

Source