We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68e4d50 commit 59861d4Copy full SHA for 59861d4
src/elvis_core.erl
@@ -38,7 +38,8 @@ start() ->
38
39
%%% Rock Command
40
41
--spec rock(elvis_config:configs()) -> ok | {fail, [elvis_result:file()]}.
+-spec rock(elvis_config:configs()) ->
42
+ ok | {fail, [{throw, term()} | elvis_result:file() | elvis_result:rule()]}.
43
rock(Config) ->
44
ok = elvis_config:validate(Config),
45
NewConfig = elvis_config:normalize(Config),
0 commit comments