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