Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
I assume this is broken on the default branch, just fixing it so my
build with pass
  • Loading branch information
mhanberg committed Apr 28, 2024
1 parent a227dfd commit 199eca4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/credo/check/readability/function_names.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,14 @@ defmodule Credo.Check.Readability.FunctionNames do
issues
end

defp issues_for_name("sigil_" <> sigil_letters = name, args, meta, issues, issue_meta, _allow_acronyms?) do
defp issues_for_name(
"sigil_" <> sigil_letters = name,
args,
meta,
issues,
issue_meta,
_allow_acronyms?
) do
multi_letter_sigil? = String.match?(sigil_letters, ~r/^[A-Z]+$/)

if multi_letter_sigil? do
Expand Down

0 comments on commit 199eca4

Please sign in to comment.