Skip to content

Commit

Permalink
Chore: enable Credo checks that have no warnings
Browse files Browse the repository at this point in the history
Some Credo checks previously gave warnings that are now fixed thanks to
Styler, so they can be enabled to run in CI.

Signed-off-by: Davide Briani <[email protected]>
  • Loading branch information
davidebriani committed Jul 3, 2024
1 parent 863ac13 commit 5a7f6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/.credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
{Credo.Check.Readability.Semicolons, []},
{Credo.Check.Readability.SeparateAliasRequire, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.SpaceAfterCommas, []},
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.StringSigils, []},
Expand Down Expand Up @@ -146,6 +147,7 @@
{Credo.Check.Refactor.NegatedConditionsWithElse, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.Nesting, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Refactor.UnlessWithElse, []},
{Credo.Check.Refactor.WithClauses, []},
Expand Down Expand Up @@ -191,12 +193,10 @@
{Credo.Check.Consistency.UnusedVariableNames, []},
{Credo.Check.Design.DuplicatedCode, []},
{Credo.Check.Readability.AliasAs, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.Specs, []},
{Credo.Check.Refactor.ABCSize, []},
{Credo.Check.Refactor.AppendSingleItem, []},
{Credo.Check.Refactor.ModuleDependencies, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.VariableRebinding, []},
{Credo.Check.Warning.LazyLogging, []}

Expand Down

0 comments on commit 5a7f6c3

Please sign in to comment.