Module Source_linters.Make

Parameters

module M : sig ... end

Signature

val active_src_line_linters : (Types.linter * (file:Types.file -> linter:Types.linter -> Types.src_line_input -> unit)) list Stdlib.ref
val active_src_file_linters : (Types.linter * (file:Types.file -> linter:Types.linter -> Types.src_file_input -> unit)) list Stdlib.ref
val active_src_content_linters : (Types.linter * (file:Types.file -> linter:Types.linter -> Types.src_content_input -> unit)) list Stdlib.ref
val new_src_file_linter : Types.namespace -> EzCompat.StringMap.key -> warnings:Types.warning list -> ?on_begin:(unit -> unit) -> ?on_end:(unit -> unit) -> (file:Types.file -> linter:Types.linter -> Types.src_file_input -> unit) -> unit
val new_src_line_linter : Types.namespace -> EzCompat.StringMap.key -> warnings:Types.warning list -> ?on_begin:(unit -> unit) -> ?on_open:(file:Types.file -> linter:Types.linter -> unit) -> ?on_close:(file:Types.file -> linter:Types.linter -> unit) -> ?on_end:(unit -> unit) -> (file:Types.file -> linter:Types.linter -> Types.src_line_input -> unit) -> unit
val new_src_content_linter : Types.namespace -> EzCompat.StringMap.key -> warnings:Types.warning list -> ?on_begin:(unit -> unit) -> ?on_open:(file:Types.file -> linter:Types.linter -> unit) -> ?on_close:(file:Types.file -> linter:Types.linter -> unit) -> ?on_end:(unit -> unit) -> (file:Types.file -> linter:Types.linter -> Types.src_content_input -> unit) -> unit
val lint_src_file : file:Types.file -> unit