Vibe.Code.Checks (vibe v0.2.3)

Copy Markdown View Source

Validation gates Vibe can run before and after self-modification.

Summary

Types

check_result()

@type check_result() :: %Vibe.Code.Checks.Result{
  count: term(),
  details: term(),
  name: atom(),
  status: :ok | :error
}

Functions

analyze(opts \\ [])

@spec analyze(keyword()) :: map()

ok?(opts \\ [])

@spec ok?(keyword()) :: boolean()

run(name)

@spec run(atom()) :: check_result()

run(name, opts)

@spec run(
  atom(),
  keyword()
) :: check_result()

run_all(opts \\ [])

@spec run_all(keyword()) :: {:ok, [check_result()]} | {:error, [check_result()]}