Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 522 Bytes

no_macros.md

File metadata and controls

21 lines (14 loc) · 522 Bytes

No Macros

(since 1.3.2)

Macros should be avoided. An exception to this is the usage of predefined macros, like FUNCTION, and MODULE. User-defined exceptions can also be found in option allow.

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

Options

  • allow :: [atom()]
    • default: disable.

Example

{elvis_style, no_macros}
%% or
{elvis_style, no_macros, #{ allow => ['SERVER'] }}