View Source Tidy.Check behaviour (tidy v0.1.9)

Summary

Types

@type category() :: :doc | :spec
@type scope() :: :module | :functions

Callbacks

@callback category() :: category()
@callback check(Tidy.Module.t() | Tidy.Function.t(), Keyword.t()) ::
  :ok | {:error, String.t(), String.t()}
@callback default_options() :: Keyword.t()
@callback scope() :: scope()