X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.credo.exs;h=94e19c4b5b0710298bbab058f924004a25185d13;hb=305d2194136d4560e02c110d528164034d3727b2;hp=b1f2a6164a6007e3c4406be0ec5b0eff3caa1f46;hpb=c48c381e909240dcece9f961e4728fa712d089cc;p=akkoma diff --git a/.credo.exs b/.credo.exs index b1f2a6164..94e19c4b5 100644 --- a/.credo.exs +++ b/.credo.exs @@ -57,7 +57,7 @@ # For some checks, like AliasUsage, you can only customize the priority # Priority values are: `low, normal, high, higher` - {Credo.Check.Design.AliasUsage, priority: :low}, + {Credo.Check.Design.AliasUsage, priority: :low, if_called_more_often_than: 3}, # For others you can set parameters @@ -104,7 +104,8 @@ {Credo.Check.Warning.BoolOperationOnSameValues}, {Credo.Check.Warning.IExPry}, {Credo.Check.Warning.IoInspect}, - {Credo.Check.Warning.LazyLogging}, + # Got too much of them, not sure if relevant + {Credo.Check.Warning.LazyLogging, false}, {Credo.Check.Warning.OperationOnSameValues}, {Credo.Check.Warning.OperationWithConstantResult}, {Credo.Check.Warning.UnusedEnumOperation},