Skip to content

Commit

Permalink
Enable Credo.Check.Refactor.UtcNowTruncate check by default
Browse files Browse the repository at this point in the history
I believe this refactoring is universally plausible, so let's enable it
by default.
  • Loading branch information
frerich committed Sep 30, 2023
1 parent 8265d07 commit 016fc54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
{Credo.Check.Refactor.RedundantWithClauseResult, []},
{Credo.Check.Refactor.RejectReject, []},
{Credo.Check.Refactor.UnlessWithElse, []},
{Credo.Check.Refactor.UtcNowTruncate, []},
{Credo.Check.Refactor.WithClauses, []},

#
Expand Down

0 comments on commit 016fc54

Please sign in to comment.