Commit 5aae15e6 authored by Heinz N. Gies's avatar Heinz N. Gies

Lockfile cleanup

parent ddb1bacb
[
{elvis,
[{config,
[#{dirs => ["apps/*/src"],
filter => "*.erl",
rules => [{elvis_style, line_length,
#{ignore => [],
limit => 80,
skip_comments => false}},
{elvis_style, no_tabs},
{elvis_style, no_trailing_whitespace},
{elvis_style, macro_names, #{ignore => []}},
{elvis_style, operator_spaces, #{rules => [{right, ","},
{right, "++"},
{left, "++"}]}},
{elvis_style, nesting_level, #{level => 3}},
{elvis_style, god_modules,
#{limit => 25,
ignore => []}},
{elvis_style, no_if_expression},
{elvis_style, invalid_dynamic_call,
#{ignore => [%% Meeded for Transport:
dalmatiner_bucket_handler,
dalmatiner_metric_handler,
dalmatiner_idx_handler
]}},
{elvis_style, used_ignored_variable},
{elvis_style, no_behavior_info},
{
elvis_style,
module_naming_convention,
#{regex => "^[a-z]([a-z0-9]*_?)*(_SUITE)?$",
ignore => []}
},
{
elvis_style,
function_naming_convention,
#{regex => "^([a-z][a-z0-9]*_?)*$"}
},
{elvis_style, state_record_and_type},
{elvis_style, no_spec_with_records},
{elvis_style, dont_repeat_yourself, #{min_complexity => 12}},
{elvis_style, no_debug_call,
#{ignore => [
%% This is a console, we are doing IO there not
%% any debug output.
dalmatiner_console
]}}
]
},
#{dirs => ["."],
filter => "Makefile",
rules => [{elvis_project, no_deps_master_erlang_mk, #{ignore => []}},
{elvis_project, protocol_for_deps_erlang_mk, #{ignore => []}}]
},
#{dirs => ["."],
filter => "rebar.config",
%% on the test branch master deps are OK
rules => [
%% {elvis_project, no_deps_master_rebar, #{ignore => []}},
%% {elvis_project, protocol_for_deps_rebar, #{ignore => []}}
]
},
#{dirs => ["."],
filter => "elvis.config",
rules => [{elvis_project, old_configuration_format}]
}
]
}
]
}
].
......@@ -52,72 +52,6 @@
locals_not_used, % exports_not_used, that is a problem with having multiple apps
deprecated_function_calls, deprecated_functions]}.
{elvis,
[#{dirs => ["apps/*/src"],
filter => "*.erl",
rules => [{elvis_style, line_length,
#{ignore => [],
limit => 80,
skip_comments => false}},
{elvis_style, no_tabs},
{elvis_style, no_trailing_whitespace},
{elvis_style, macro_names, #{ignore => []}},
{elvis_style, operator_spaces, #{rules => [{right, ","},
{right, "++"},
{left, "++"}]}},
{elvis_style, nesting_level, #{level => 3}},
{elvis_style, god_modules,
#{limit => 25,
ignore => []}},
{elvis_style, no_if_expression},
{elvis_style, invalid_dynamic_call,
#{ignore => [%% Meeded for Transport:
dalmatiner_bucket_handler,
dalmatiner_metric_handler,
dalmatiner_idx_handler
]}},
{elvis_style, used_ignored_variable},
{elvis_style, no_behavior_info},
{
elvis_style,
module_naming_convention,
#{regex => "^[a-z]([a-z0-9]*_?)*(_SUITE)?$",
ignore => []}
},
{
elvis_style,
function_naming_convention,
#{regex => "^([a-z][a-z0-9]*_?)*$"}
},
{elvis_style, state_record_and_type},
{elvis_style, no_spec_with_records},
{elvis_style, dont_repeat_yourself, #{min_complexity => 12}},
{elvis_style, no_debug_call,
#{ignore => [
%% This is a console, we are doing IO there not
%% any debug output.
dalmatiner_console
]}}
]
},
#{dirs => ["."],
filter => "Makefile",
rules => [{elvis_project, no_deps_master_erlang_mk, #{ignore => []}},
{elvis_project, protocol_for_deps_erlang_mk, #{ignore => []}}]
},
#{dirs => ["."],
filter => "rebar.config",
%% on the test branch master deps are OK
rules => [%{elvis_project, no_deps_master_rebar, #{ignore => []}},
{elvis_project, protocol_for_deps_rebar, #{ignore => []}}]
},
#{dirs => ["."],
filter => "elvis.config",
rules => [{elvis_project, old_configuration_format}]
}
]
}.
%%-------------------------------------------------------------------
%% Profiles
%%-------------------------------------------------------------------
......@@ -128,7 +62,7 @@
[{plugins,
[{rebar3_lint,
{git, "https://github.com/project-fifo/rebar3_lint.git",
{tag, "0.1.3"}}}]}]},
{tag, "0.1.4"}}}]}]},
{eqc,
[{plugins, [rebar3_eqc]},
{deps, [fqc]}]}]}.
......@@ -158,11 +92,7 @@
[{release, {dalmatinerfe, "0.1.4"},
[sasl,
dalmatiner_frontend,
{cuttlefish, load},
{runtime_tools, load}, %% for dyntrace
%% for qdate
{erlang_localtime, load},
{erlware_commons, load},
%% runtime tools
{kernel, permanent},
{recon, load},
......
[{<<"cf">>,{pkg,<<"cf">>,<<"0.2.1">>},3},
{<<"cowboy">>,{pkg,<<"cowboy">>,<<"1.0.4">>},0},
{<<"cowlib">>,{pkg,<<"cowlib">>,<<"1.0.2">>},1},
{<<"cuttlefish">>,{pkg,<<"cuttlefish">>,<<"2.0.7">>},0},
{<<"ddb_client">>,{pkg,<<"ddb_client">>,<<"0.1.17">>},1},
{<<"dflow">>,{pkg,<<"dflow">>,<<"0.1.5">>},1},
{<<"dproto">>,{pkg,<<"dproto">>,<<"0.1.12">>},1},
......@@ -13,7 +12,6 @@
{<<"erlang_localtime">>,{pkg,<<"erlang_localtime">>,<<"1.0.0">>},2},
{<<"erlware_commons">>,{pkg,<<"erlware_commons">>,<<"0.18.0">>},2},
{<<"fifo_utils">>,{pkg,<<"fifo_utils">>,<<"0.1.22">>},0},
{<<"getopt">>,{pkg,<<"getopt">>,<<"0.8.2">>},1},
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.7">>},1},
{<<"jsone">>,{pkg,<<"jsone">>,<<"1.2.0">>},0},
{<<"lager">>,{pkg,<<"lager">>,<<"3.0.2">>},0},
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment