summaryrefslogtreecommitdiff
path: root/.credo.exs
diff options
context:
space:
mode:
Diffstat (limited to '.credo.exs')
-rw-r--r--.credo.exs7
1 files changed, 4 insertions, 3 deletions
diff --git a/.credo.exs b/.credo.exs
index b1f2a6164..580cb2705 100644
--- a/.credo.exs
+++ b/.credo.exs
@@ -19,7 +19,7 @@
#
# You can give explicit globs or simply directories.
# In the latter case `**/*.{ex,exs}` will be used.
- included: ["lib/", "src/", "web/", "apps/"],
+ included: ["lib/", "src/", "web/", "apps/", "test/"],
excluded: [~r"/_build/", ~r"/deps/"]
},
#
@@ -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},