|
10 | 10 | {profiles, [ |
11 | 11 | {test, [ |
12 | 12 | {deps, [ |
13 | | - {meck, "1.0.0"}, |
| 13 | + {meck, "1.2.0"}, |
14 | 14 | {proper, "1.5.0"}, |
15 | 15 | {bbmustache, "1.12.2"}, |
16 | 16 | {wait_helper, "0.2.1"} |
|
43 | 43 | {project_plugins, [ |
44 | 44 | {rebar3_hex, "~> 7.0"}, |
45 | 45 | {rebar3_ex_doc, "~> 0.2"}, |
46 | | - {rebar3_lint, "~> 4.2"}, |
| 46 | + {rebar3_lint, "~> 5.0"}, |
47 | 47 | {rebar3_codecov, "~> 0.7"} |
48 | 48 | ]}. |
49 | 49 |
|
|
67 | 67 | ]}. |
68 | 68 |
|
69 | 69 | {hex, [{doc, #{provider => ex_doc}}]}. |
| 70 | + |
| 71 | +{elvis, [ |
| 72 | + {config, [ |
| 73 | + #{ |
| 74 | + files => ["src/**/*.erl"], |
| 75 | + ruleset => erl_files, |
| 76 | + rules => [ |
| 77 | + {elvis_text_style, max_line_length, #{skip_comments => whole_line}}, |
| 78 | + {elvis_style, export_used_types, disable}, |
| 79 | + {elvis_style, private_data_types, disable}, |
| 80 | + {elvis_style, dont_repeat_yourself, #{ignore => [amoc_config_scenario]}}, |
| 81 | + {elvis_style, no_invalid_dynamic_calls, #{ignore => [{amoc_code_server, get_md5}]}}, |
| 82 | + {elvis_style, no_block_expressions, #{ignore => [amoc_cluster]}}, |
| 83 | + {elvis_style, no_throw, #{ignore => [amoc_config]}} |
| 84 | + ] |
| 85 | + }, |
| 86 | + #{ |
| 87 | + files => ["rebar.config"], |
| 88 | + ruleset => rebar_config |
| 89 | + } |
| 90 | + ]} |
| 91 | +]}. |
0 commit comments