forked from esl/lhttpc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelvis.config
24 lines (24 loc) · 924 Bytes
/
elvis.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[{elvis, [
{config, [
#{ dirs => ["src/**"],
filter => "*.erl",
ruleset => erl_files,
rules => [{elvis_style, dont_repeat_yourself, disable},
{elvis_style, no_if_expression, disable}] },
#{ dirs => ["test/**"],
filter => "*.erl",
ruleset => erl_files,
rules => [{elvis_style, dont_repeat_yourself, disable},
{elvis_style, invalid_dynamic_call, disable},
{elvis_style, function_naming_convention, disable},
{elvis_style, no_if_expression, disable},
{elvis_style, atom_naming_convention, disable}] },
#{ dirs => ["."],
filter => "rebar.config",
ruleset => rebar_config },
#{ dirs => ["."],
filter => "elvis.config",
ruleset => elvis_config }
]},
{verbose, true}
]}].