View Source elvis_core (elvis_core v3.2.5)
Summary
Functions
Used when starting the application on the shell.
Types
-type rule() :: {Module :: module(), Function :: atom(), RuleConfig :: rule_config()} | {Module :: module(), Function :: atom()}.
-type source_filename() :: nonempty_string().
-type target() :: source_filename() | module().
Functions
-spec do_rock(elvis_file:file(), elvis_config:configs() | elvis_config:config()) -> {ok, elvis_result:file()}.
-spec rock(elvis_config:configs()) -> ok | {fail, [{throw, term()} | elvis_result:file() | elvis_result:rule()]}.
-spec rock_this(target(), elvis_config:configs()) -> ok | {fail, [elvis_result:file() | elvis_result:rule()]}.
-spec start() -> ok.
Used when starting the application on the shell.