-
Notifications
You must be signed in to change notification settings - Fork 1
/
elvis.config
42 lines (42 loc) · 1.35 KB
/
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
34
35
36
37
38
39
40
41
42
[
{elvis, [
{config, [
#{
dirs => ["src", "include", "test"],
filter => "*.erl",
rules => [
{elvis_style, dont_repeat_yourself, disable},
{elvis_style, function_naming_convention, disable},
{elvis_style, god_modules, disable},
{elvis_style, no_block_expressions, disable},
{elvis_style, no_if_expression, disable},
{elvis_style, no_throw, disable}
],
ruleset => erl_files
},
% Project doesn't currently have any include files and elvis
% complains if there's nothing that matches the rule.
% #{
% dirs => ["src", "include", "test"],
% filter => "*.hrl",
% ruleset => erl_files
% },
#{
dirs => ["."],
filter => "Makefile",
ruleset => makefiles
},
#{
dirs => ["."],
filter => "rebar.config",
ruleset => rebar_config
},
#{
dirs => ["."],
filter => "elvis.config",
ruleset => elvis_config
}
]},
{parallel, 4}
]}
].