package dolmen_loop

  1. Overview
  2. Docs
type t

The type of configuration for reports.

val mk : default:Warning.Status.t -> t

Create a configuration with a default status for warnings.

val status : t -> _ Warning.t -> Warning.Status.t

Status for an individual warning.

val disable : t -> [ `All | `Warning of any_warning ] -> t

Disable the warning.

val enable : t -> [ `All | `Warning of any_warning ] -> t

Enable the warning.

val fatal : t -> [ `All | `Warning of any_warning ] -> t

Make fatal the warning.

val set_enabled : t -> [ `All | `Warning of any_warning ] -> t

Force the warning to be exactly enabled (and not fatal).