View Source Recode.Task.Nesting (Recode v0.7.2)

Code should be not nested to deep in functions and macros.

Developers should refactor a too-deeply nested function/macro by extracting branches from the code to separate functions to separate different loops and conditions.

Options

  • :max_depth - the maximum allowable depth, defaults to 2.