summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-09-03 14:33:15 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-09-03 14:33:15 +0200
commit56faec8f3f3c6823fa5c5154a5d40f525bcac0a2 (patch)
tree7223b7ddfbb0b7c960d5493e00a6c9434c98a91e
parent42b27f4e73a921f88893b5fb9029ed000f6d2178 (diff)
credo: Disable some new checks, disable TODO+FIXME (noise)deps-update
-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},