|
3 | 3 | elvis, |
4 | 4 | [ |
5 | 5 | {config, |
6 | | - #{src_dirs => ["../../test/examples"], |
7 | | - rules => [{elvis_style, line_length, [80]}, |
8 | | - {elvis_style, no_tabs, []}, |
9 | | - {elvis_style, macro_names, []}, |
10 | | - {elvis_style, macro_module_names, []}, |
11 | | - {elvis_style, operator_spaces, [{right, ","}, |
12 | | - {right, "++"}, |
13 | | - {left, "++"}]}, |
14 | | - {elvis_style, nesting_level, [3]}, |
15 | | - {elvis_style, god_modules, [25]}, |
16 | | - {elvis_style, no_if_expression, []}, |
17 | | - {elvis_style, invalid_dynamic_call, [elvis]}, |
18 | | - {elvis_style, used_ignored_variable, []}, |
19 | | - {elvis_style, no_behavior_info, []}, |
20 | | - { |
21 | | - elvis_style, |
22 | | - module_naming_convention, |
23 | | - ["^([a-z][a-z0-9]*_?)*(_SUITE)?$", []] |
24 | | - } |
25 | | - ] |
| 6 | + [#{dirs => ["../../test/examples"], |
| 7 | + filter => "*.erl", |
| 8 | + rules => [{elvis_style, line_length, [80]}, |
| 9 | + {elvis_style, no_tabs, []}, |
| 10 | + {elvis_style, macro_names, []}, |
| 11 | + {elvis_style, macro_module_names, []}, |
| 12 | + {elvis_style, operator_spaces, [{right, ","}, |
| 13 | + {right, "++"}, |
| 14 | + {left, "++"}]}, |
| 15 | + {elvis_style, nesting_level, [3]}, |
| 16 | + {elvis_style, god_modules, [25]}, |
| 17 | + {elvis_style, no_if_expression, []}, |
| 18 | + {elvis_style, invalid_dynamic_call, [elvis]}, |
| 19 | + {elvis_style, used_ignored_variable, []}, |
| 20 | + {elvis_style, no_behavior_info, []}, |
| 21 | + { |
| 22 | + elvis_style, |
| 23 | + module_naming_convention, |
| 24 | + ["^([a-z][a-z0-9]*_?)*(_SUITE)?$", []] |
| 25 | + } |
| 26 | + ] |
| 27 | + }, |
| 28 | + #{dirs => ["."], |
| 29 | + filter => "Makefile", |
| 30 | + rules => [{elvis_project, no_deps_master_erlang_mk, []}] |
| 31 | + }, |
| 32 | + #{dirs => ["."], |
| 33 | + filter => "rebar.config", |
| 34 | + rules => [{elvis_project, no_deps_master_rebar, []}] |
26 | 35 | } |
| 36 | + ] |
27 | 37 | } |
28 | 38 | ] |
29 | 39 | } |
|
0 commit comments