Skip to content

Commit a17c6ea

Browse files
committed
Increase credo's max nesting threshold from 2 to 3 because this is bs
1 parent ac26f1b commit a17c6ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.credo.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
{Credo.Check.Refactor.MapJoin, []},
129129
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
130130
{Credo.Check.Refactor.NegatedConditionsWithElse, false},
131-
{Credo.Check.Refactor.Nesting, []},
131+
{Credo.Check.Refactor.Nesting, [max_nesting: 3]},
132132
{Credo.Check.Refactor.UnlessWithElse, []},
133133
{Credo.Check.Refactor.WithClauses, []},
134134
{Credo.Check.Refactor.FilterFilter, []},

0 commit comments

Comments
 (0)