-
Notifications
You must be signed in to change notification settings - Fork 4
/
elvis.config
36 lines (36 loc) · 1.24 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
[
{elvis, [
{config, [
#{
dirs => ["src/**", "test/**"],
filter => "*.erl",
ruleset => erl_files,
rules => [
{elvis_text_style, line_length, disable},
% TODO Lower to 4 (default)
{elvis_style, nesting_level, #{level => 5}},
% TODO Enable and fix warnings
{elvis_style, dont_repeat_yourself, disable},
{elvis_style, max_module_length},
% TODO Use logging module
{elvis_style, no_debug_call, disable},
{elvis_style, no_common_caveats_call},
% TODO Remove when UI is migrated to Java. This is to avoid hits from wx modules
{elvis_style, atom_naming_convention, disable}
]
},
#{
dirs => ["."],
filter => "rebar.config",
ruleset => rebar_config,
rules => []
},
#{
dirs => ["."],
filter => "elvis.config",
ruleset => elvis_config,
rules => []
}
]}
]}
].