diff --git a/elvis.config b/elvis.config index dfc30fc..549ad21 100644 --- a/elvis.config +++ b/elvis.config @@ -1,25 +1,15 @@ -[ - { - elvis, - [ - {config, - [#{dirs => ["src", "test"], - filter => "*.erl", - rules => [{elvis_style, invalid_dynamic_call, #{ignore => [trails_handler]}}, - {elvis_style, dont_repeat_yourself, #{min_complexity => 14}}, - {elvis_style, god_modules, #{ ignore => [trails_SUITE]}}], - ruleset => erl_files - }, - #{dirs => ["."], - filter => "rebar.config", - ruleset => rebar_config - }, - #{dirs => ["."], - filter => "elvis.config", - ruleset => elvis_config - } - ] - } - ] - } -]. +[{elvis, + [{config, + [#{dirs => ["src", "test"], + filter => "*.erl", + rules => + [{elvis_style, invalid_dynamic_call, #{ignore => [trails_handler]}}, + {elvis_style, dont_repeat_yourself, #{min_complexity => 14}}, + {elvis_style, god_modules, #{ignore => [trails_SUITE]}}], + ruleset => erl_files}, + #{dirs => ["."], + filter => "rebar.config", + ruleset => rebar_config}, + #{dirs => ["."], + filter => "elvis.config", + ruleset => elvis_config}]}]}]. diff --git a/example/rel/sys.config b/example/rel/sys.config index ed118b8..ed7cf30 100644 --- a/example/rel/sys.config +++ b/example/rel/sys.config @@ -1,4 +1 @@ -[{example, - [{http_port, 8080}, - {http_listener_count, 10}]} -]. +[{example, [{http_port, 8080}, {http_listener_count, 10}]}].