elvis_core (elvis_core v4.2.0)
View SourceSummary
Functions
Used when starting the application on the shell.
Types
-type source_filename() :: nonempty_string().
-type target() :: source_filename() | module().
Functions
-spec do_rock(elvis_file:t(), [elvis_config:t()] | elvis_config:t()) -> {ok, elvis_result:file()}.
-spec main([]) -> true | no_return().
-spec rock([elvis_config:t()]) -> ok | {fail, [{throw, term()} | elvis_result:file() | elvis_result:rule()]}.
-spec rock_this(target(), [elvis_config:t()]) -> ok | {fail, [elvis_result:file() | elvis_result:rule()]}.
-spec start() -> ok.
Used when starting the application on the shell.