diff --git a/.credo.exs b/.credo.exs index 539d213..00cafc2 100644 --- a/.credo.exs +++ b/.credo.exs @@ -121,7 +121,7 @@ # {Credo.Check.Refactor.Apply, []}, {Credo.Check.Refactor.CondStatements, []}, - {Credo.Check.Refactor.CyclomaticComplexity, []}, + {Credo.Check.Refactor.CyclomaticComplexity, [max_complexity: 10]}, {Credo.Check.Refactor.FilterCount, []}, {Credo.Check.Refactor.FilterFilter, []}, {Credo.Check.Refactor.FunctionArity, []}, @@ -163,7 +163,8 @@ ], disabled: [ # - # Checks scheduled for next check update (opt-in for now, just replace `false` with `[]`) + # Checks scheduled for next check update (opt-in for now) + {Credo.Check.Refactor.UtcNowTruncate, []}, # # Controversial and experimental checks (opt-in, just move the check to `:enabled`