Skip to content

Commit e9c5f94

Browse files
committed
Allow underscores in atom for the linter
1 parent 03bb2bf commit e9c5f94

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

rebar.config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@
4343
dirs => ["src/**"],
4444
filter => "*.erl",
4545
ruleset => erl_files,
46-
rules => [{elvis_style, private_data_types, disable}]
46+
rules => [
47+
{elvis_style, private_data_types, disable},
48+
{elvis_style, atom_naming_convention, #{
49+
regex => "^([a-z][a-zA-Z0-9_]*_?)*$"
50+
}}
51+
]
4752
},
4853
#{
4954
dirs => ["."],

0 commit comments

Comments
 (0)