X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.credo.exs;h=46d45d015716267a6ee5c224afe9c2db9d34681d;hb=a9938611f7f3771dc9cf10fb0d0d9f78c4e2f80d;hp=947280f56c37ba30b6352f796d2796c1977d4b62;hpb=ddcd0910d32c157f4d89c51bc40c85a79c799692;p=akkoma diff --git a/.credo.exs b/.credo.exs index 947280f56..46d45d015 100644 --- a/.credo.exs +++ b/.credo.exs @@ -81,7 +81,9 @@ {Credo.Check.Readability.ParenthesesOnZeroArityDefs}, {Credo.Check.Readability.ParenthesesInCondition}, {Credo.Check.Readability.PredicateFunctionNames}, - {Credo.Check.Readability.PreferImplicitTry}, + # lanodan: I think PreferImplicitTry should be consistency, and the behaviour seems + # inconsistent, see: https://github.com/rrrene/credo/issues/224 + {Credo.Check.Readability.PreferImplicitTry, false}, {Credo.Check.Readability.RedundantBlankLines}, {Credo.Check.Readability.StringSigils}, {Credo.Check.Readability.TrailingBlankLine}, @@ -126,10 +128,6 @@ # Deprecated checks (these will be deleted after a grace period) {Credo.Check.Readability.Specs, false}, - {Credo.Check.Warning.NameRedeclarationByAssignment, false}, - {Credo.Check.Warning.NameRedeclarationByCase, false}, - {Credo.Check.Warning.NameRedeclarationByDef, false}, - {Credo.Check.Warning.NameRedeclarationByFn, false}, # Custom checks can be created using `mix credo.gen.check`. #