View Source elvis_core (elvis_core v3.2.2)

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 rule_config() :: #{atom() => term()}.
-type source_filename() :: nonempty_string().
-type target() :: source_filename() | module().

Functions

-spec rock(elvis_config:configs()) ->
        ok | {fail, [{throw, term()} | elvis_result:file() | elvis_result:rule()]}.
Link to this function

rock_this(Module, Config)

View Source
-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.