Skip to content

Commit

Permalink
Accept further format results
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Aug 6, 2023
1 parent 4bf8f19 commit cf6eb87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 29 deletions.
40 changes: 15 additions & 25 deletions elvis.config
Original file line number Diff line number Diff line change
@@ -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}]}]}].
5 changes: 1 addition & 4 deletions example/rel/sys.config
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
[{example,
[{http_port, 8080},
{http_listener_count, 10}]}
].
[{example, [{http_port, 8080}, {http_listener_count, 10}]}].

0 comments on commit cf6eb87

Please sign in to comment.