diff --git a/.credo.exs b/.credo.exs index da7e5d1501..ed2e6ecbf1 100644 --- a/.credo.exs +++ b/.credo.exs @@ -84,7 +84,8 @@ {Credo.Check.Design.TagFIXME}, {Credo.Check.Readability.FunctionNames}, {Credo.Check.Readability.LargeNumbers}, - {Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 120}, + # mix format handles line length and using both hits some `mix format` bugs + {Credo.Check.Readability.MaxLineLength, false}, {Credo.Check.Readability.ModuleAttributeNames}, {Credo.Check.Readability.ModuleDoc}, {Credo.Check.Readability.ModuleNames}, diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index cd8956a837..f6d9cf4a9f 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -928,9 +928,7 @@ defmodule Explorer.Chain do """ @spec transaction_hash_to_internal_transactions(Hash.Full.t()) :: %Scrivener.Page{entries: [InternalTransaction.t()]} @spec transaction_hash_to_internal_transactions(Hash.Full.t(), [necessity_by_association_option | pagination_option]) :: - %Scrivener.Page{ - entries: [InternalTransaction.t()] - } + %Scrivener.Page{entries: [InternalTransaction.t()]} def transaction_hash_to_internal_transactions( %Hash{byte_count: unquote(Hash.Full.byte_count())} = hash, options \\ []