Module IBase.Checker
type t
=
type support
=
|
NoSupport
checker does not run at all for this language
|
ExperimentalSupport
checker runs but is not expected to give reasonable results
|
Support
checker is expected to give reasonable results
per-language support for each checker
type cli_flags
=
{
deprecated : string list;
More command-line flags, similar to
~deprecated
arguments inCommandLineOption
.show_in_help : bool;
}
type kind
=
type config
=
{
id : string;
Unique identifier. Used to generate web URLs for the documentation as well as the flag to enable this option on the command line.
kind : kind;
support : Language.t -> support;
short_documentation : string;
used in man pages and as a short intro on the website
cli_flags : cli_flags option;
If
None
then the checker cannot be enabled/disabled from the command line.enabled_by_default : bool;
activates : t list;
list of checkers that get enabled when this checker is enabled
}
val from_id : string -> t option