|
9 | 9 |
|
10 | 10 | {profiles, [ |
11 | 11 | {test, [ |
12 | | - {plugins, [{rebar3_codecov, "0.6.0"}]}, |
13 | 12 | {deps, [ |
14 | | - {meck, "0.9.2"}, |
| 13 | + {meck, "1.0.0"}, |
15 | 14 | {proper, "1.4.0"}, |
16 | 15 | {bbmustache, "1.12.2"}, |
17 | 16 | {wait_helper, "0.2.1"} |
18 | 17 | ]} |
19 | | - ]}, |
20 | | - {elvis, [{plugins, [{rebar3_lint, "3.2.6"}]}]} |
| 18 | + ]} |
21 | 19 | ]}. |
22 | 20 |
|
23 | 21 | {relx, [ |
|
43 | 41 | ]}. |
44 | 42 |
|
45 | 43 | {project_plugins, [ |
46 | | - rebar3_hex, |
47 | | - rebar3_ex_doc |
| 44 | + {rebar3_hex, "~> 7.0"}, |
| 45 | + {rebar3_ex_doc, "~> 0.2"}, |
| 46 | + {rebar3_lint, "~> 4.0"}, |
| 47 | + {rebar3_codecov, "~> 0.7"} |
48 | 48 | ]}. |
49 | 49 |
|
50 | 50 | {ex_doc, [ |
|
66 | 66 | {main, <<"readme">>} |
67 | 67 | ]}. |
68 | 68 |
|
69 | | -{hex, [{doc, ex_doc}]}. |
| 69 | +{hex, [{doc, #{provider => ex_doc}}]}. |
| 70 | + |
| 71 | +{elvis, [ |
| 72 | + #{ |
| 73 | + dirs => ["src/**"], |
| 74 | + filter => "*.erl", |
| 75 | + ruleset => erl_files, |
| 76 | + rules => [ |
| 77 | + {elvis_text_style, line_length, #{skip_comments => whole_line}}, |
| 78 | + {elvis_style, export_used_types, disable}, |
| 79 | + {elvis_style, invalid_dynamic_call, #{ignore => [{amoc_code_server, get_md5}]}}, |
| 80 | + {elvis_style, no_block_expressions, #{ignore => [amoc_cluster]}}, |
| 81 | + {elvis_style, no_throw, #{ignore => [amoc_config]}} |
| 82 | + ] |
| 83 | + }, |
| 84 | + #{ |
| 85 | + dirs => ["."], |
| 86 | + filter => "rebar.config", |
| 87 | + ruleset => rebar_config |
| 88 | + } |
| 89 | +]}. |
0 commit comments