Macro names should only contain upper-case alphanumeric characters.
Works on
.beam
file? Not really! (it consumes results Ok, but these might be unexpected)
regex :: string()
. (since 1.0.0)- default:
"^[A-Z](_?[A-Z0-9]+)*$"
.
- default:
{elvis_style, macro_names}
%% or
{elvis_style, macro_names, #{ regex => "^([A-Z][A-Z_0-9]+)$" }}