Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 449 Bytes

macro_names.md

File metadata and controls

18 lines (12 loc) · 449 Bytes

Macro Names

Macro names should only contain upper-case alphanumeric characters.

Works on .beam file? Not really! (it consumes results Ok, but these might be unexpected)

Options

  • regex :: string(). (since 1.0.0)
    • default: "^[A-Z](_?[A-Z0-9]+)*$".

Example

{elvis_style, macro_names}
%% or
{elvis_style, macro_names, #{ regex => "^([A-Z][A-Z_0-9]+)$" }}