Skip to content

Commit

Permalink
chore(lint): Reorganize credo rules (#302)
Browse files Browse the repository at this point in the history
- Set same credo version as `mix.lock`
  • Loading branch information
aifrak authored Feb 20, 2022
1 parent 840dddd commit 6aa2b65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
{Credo.Check.Readability.BlockPipe, []},
{Credo.Check.Readability.ImplTrue, []},
{Credo.Check.Readability.MultiAlias, []},
{Credo.Check.Readability.PipeIntoAnonymousFunctions, []},
{Credo.Check.Readability.NestedFunctionCalls, []},
{Credo.Check.Readability.SeparateAliasRequire, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
Expand Down Expand Up @@ -128,14 +128,14 @@
{Credo.Check.Readability.WithCustomTaggedTuple, []},
{Credo.Check.Refactor.ABCSize, []},
{Credo.Check.Refactor.AppendSingleItem, []},
{Credo.Check.Refactor.Apply, []},
{Credo.Check.Refactor.DoubleBooleanNegation, []},
{Credo.Check.Refactor.FilterReject, []},
{Credo.Check.Refactor.IoPuts, []},
{Credo.Check.Refactor.MapJoin, []},
{Credo.Check.Refactor.MapMap, []},
{Credo.Check.Refactor.ModuleDependencies, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.RedundantWithClauseResult, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Refactor.VariableRebinding, []},
{Credo.Check.Warning.LeakyEnvironment, []},
{Credo.Check.Warning.MapGetUnsafePass, []},
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule App.MixProject do

defp deps do
[
{:credo, ">= 1.6.2", only: :test, runtime: false},
{:credo, ">= 1.6.3", only: :test, runtime: false},
{:credo_contrib, ">= 0.2.0", only: :test, runtime: false},
{:credo_naming, ">= 1.0.0", only: :test, runtime: false},
{:dialyxir, ">= 1.1.0", only: :test, runtime: false},
Expand Down

0 comments on commit 6aa2b65

Please sign in to comment.