-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelvis.config
33 lines (33 loc) · 1018 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
25
26
27
28
29
30
31
32
33
[{elvis, [
{config, [
#{ dirs => ["apps/**/src"]
, filter => "*.erl"
, ruleset => erl_files
% these are not enforced by default, so are added here for completeness
, rules => [{elvis_style, max_module_length, #{}}
, {elvis_style, no_common_caveats_call, #{}}
,{elvis_style, used_ignored_variable, disable}
]
}
, #{ dirs => ["apps/**/include/"]
, filter => "*.hrl"
, ruleset => hrl_files
}
, #{ dirs => ["."]
, filter => "Makefile"
, ruleset => makefiles
, rules => [] }
, #{ dirs => ["."]
, filter => "rebar.config"
, ruleset => rebar_config
, rules => [] }
, #{ dirs => ["."]
, filter => "elvis.config"
, ruleset => elvis_config
, rules => [] }
, #{ dirs => ["."]
, filter => ".gitignore"
, ruleset => gitignore }
]}
, {verbose, true}
]}].