diff --git a/src/elvis_text_style.erl b/src/elvis_text_style.erl index d677a9e7..ed88fea8 100644 --- a/src/elvis_text_style.erl +++ b/src/elvis_text_style.erl @@ -212,7 +212,7 @@ is_exception_prefer_quoted(Elem) -> KeyWords = ['after', 'and', 'andalso', 'band', 'begin', 'bnot', 'bor', 'bsl', 'bsr', 'bxor', 'case', 'catch', 'cond', 'div', 'end', 'fun', 'if', 'let', 'not', 'of', 'or', 'orelse', 'receive', - 'rem', 'try', 'when', 'xor'], + 'rem', 'try', 'when', 'xor', maybe], lists:member(Elem, KeyWords). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/test/examples/pass_unquoted_atoms.erl b/test/examples/pass_unquoted_atoms.erl index ffbe676e..48ddb761 100644 --- a/test/examples/pass_unquoted_atoms.erl +++ b/test/examples/pass_unquoted_atoms.erl @@ -7,5 +7,5 @@ test(_Test) -> ok. test(_A, nice_atom_name) -> perfect_atomname; test(_Reserved, _Words) -> ['after', 'and', 'andalso', 'band', 'begin', 'bnot', 'bor', 'bsl', 'bsr', 'bxor', 'case', 'catch', 'cond', 'div', 'end', 'fun', 'if', 'let', 'not', 'of', 'or', 'orelse', 'receive', - 'rem', 'try', 'when', 'xor']. + 'rem', 'try', 'when', 'xor', 'maybe'].