package zanuda
Module Zanuda_core.LINT
Module types for program tree analyzers
A type of lint's implementation. Typed and untyped lints inspect OCaml's Parsetree/Typedtree respectively. In Clippy it corresponds to early and late lint passes.
type group = | Style(*Code that should be written in a more idiomatic way
*)| Correctness(*Code that is outright wrong or useless
*)| Perf(*Code that can be written to run faster
*)| Restriction| Deprecated| Pedantic(*Lints which are rather strict or might have false positives
*)| Complexity| Suspicious| Nursery(*New lints that are still under development
*)
Group of lints. The same as Rust's Clippy
module type GENERAL = sig ... endmodule type UNTYPED = sig ... endmodule type TYPED = sig ... endmodule type UNUSED_DECLS = sig ... endmodule type REPORTER = sig ... end