summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.credo.exs9
1 files changed, 7 insertions, 2 deletions
diff --git a/.credo.exs b/.credo.exs
index b85898af3..f2ee0339e 100644
--- a/.credo.exs
+++ b/.credo.exs
@@ -69,8 +69,9 @@
# You can also customize the exit_status of each check.
# If you don't want TODO comments to cause `mix credo` to fail, just
# set this value to 0 (zero).
- {Credo.Check.Design.TagTODO, exit_status: 0},
- {Credo.Check.Design.TagFIXME, exit_status: 0},
+ {Credo.Check.Design.TagTODO, false},
+ {Credo.Check.Design.TagFIXME, false},
+
{Credo.Check.Readability.FunctionNames},
{Credo.Check.Readability.LargeNumbers},
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100},
@@ -90,6 +91,9 @@
{Credo.Check.Readability.VariableNames},
{Credo.Check.Readability.Semicolons},
{Credo.Check.Readability.SpaceAfterCommas},
+ {Credo.Check.Readability.WithSingleClause, false},
+ {Credo.Check.Readability.PipeIntoAnonymousFunctions, false},
+
{Credo.Check.Refactor.DoubleBooleanNegation},
{Credo.Check.Refactor.CondStatements},
{Credo.Check.Refactor.CyclomaticComplexity},
@@ -100,6 +104,7 @@
{Credo.Check.Refactor.Nesting},
{Credo.Check.Refactor.PipeChainStart},
{Credo.Check.Refactor.UnlessWithElse},
+
{Credo.Check.Warning.BoolOperationOnSameValues},
{Credo.Check.Warning.IExPry},
{Credo.Check.Warning.IoInspect},