Skip to content

Commit

Permalink
Update src/elvis_style.erl
Browse files Browse the repository at this point in the history
Co-authored-by: Brujo Benavides <[email protected]>
  • Loading branch information
bormilan and elbrujohalcon authored Dec 5, 2024
1 parent adc0bc5 commit ce448f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elvis_style.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ atom_naming_convention(Config, Target, RuleConfig) ->
specific_or_default(option(enclosed_atoms, RuleConfig, atom_naming_convention), Regex),
ForbiddenEnclosedRegex =
specific_or_default(option(forbidden_enclosed_regex, RuleConfig, atom_naming_convention),
Regex),
ForbiddenRegex),
AtomNodes = elvis_code:find(fun is_atom_node/1, Root, #{traverse => all, mode => node}),
check_atom_names(Regex,
ForbiddenRegex,
Expand Down

0 comments on commit ce448f6

Please sign in to comment.