diff --git a/.credo.exs b/.credo.exs index c5e7ca2..6d33a97 100644 --- a/.credo.exs +++ b/.credo.exs @@ -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 @@ -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]} ] diff --git a/example/.credo.exs b/example/.credo.exs index c5e7ca2..6d33a97 100644 --- a/example/.credo.exs +++ b/example/.credo.exs @@ -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 @@ -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]} ]