Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .credo.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by elixir_baseline. Do not edit. The configuration is defined
# in elixir_baseline at priv/templates/credo.exs.eex.
# Generated by elixir_baseline. Do not edit: a change made here is lost the
# next time the file is generated. Change the template it comes from instead.
#
# Credo's own default config (deps/credo/.credo.exs) is the baseline. This file
# records only the deviations, so upgrading Credo brings new default checks with
Expand Down Expand Up @@ -29,18 +29,21 @@
},
checks: %{
extra: [
# Opt-in checks Credo disables by default.
{Credo.Check.Readability.BlockPipe, []},
{Credo.Check.Readability.OneArityFunctionInPipe, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.WithCustomTaggedTuple, []},
{Credo.Check.Refactor.DoubleBooleanNegation, []},
{Credo.Check.Refactor.FilterReject, []},
{Credo.Check.Refactor.MapMap, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.PassAsyncInTestCases, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Warning.MapGetUnsafePass, []},
{Credo.Check.Warning.WrongTestFileExtension, []},
{Credo.Check.Readability.MaxLineLength,
[priority: :low, max_length: 80]}
]
Expand Down
9 changes: 6 additions & 3 deletions example/.credo.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by elixir_baseline. Do not edit. The configuration is defined
# in elixir_baseline at priv/templates/credo.exs.eex.
# Generated by elixir_baseline. Do not edit: a change made here is lost the
# next time the file is generated. Change the template it comes from instead.
#
# Credo's own default config (deps/credo/.credo.exs) is the baseline. This file
# records only the deviations, so upgrading Credo brings new default checks with
Expand Down Expand Up @@ -29,18 +29,21 @@
},
checks: %{
extra: [
# Opt-in checks Credo disables by default.
{Credo.Check.Readability.BlockPipe, []},
{Credo.Check.Readability.OneArityFunctionInPipe, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.WithCustomTaggedTuple, []},
{Credo.Check.Refactor.DoubleBooleanNegation, []},
{Credo.Check.Refactor.FilterReject, []},
{Credo.Check.Refactor.MapMap, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.PassAsyncInTestCases, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Warning.MapGetUnsafePass, []},
{Credo.Check.Warning.WrongTestFileExtension, []},
{Credo.Check.Readability.MaxLineLength,
[priority: :low, max_length: 80]}
]
Expand Down
Loading