Opinionated OCaml linter with Merlin integration for code quality, naming conventions, and style checks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

merlint: exclude space-wire from E900, refine E900 to check Codec.v

space-wire has its own C generation approach (lib/wire/Space_wire_3d).
E900 now checks for Wire.Codec.v (codec definition) not just Wire.Codec
(codec usage), reducing false positives on consumer-only packages.

Remaining E900: ocaml-proximity1 (variable-size codec, needs Wire
EverParse support for Field.ref-dependent byte_array sizes).

+2
+2
lib/rules/e900.ml
··· 17 17 if 18 18 Sys.file_exists pkg_dir && Sys.is_directory pkg_dir && pkg <> "_build" 19 19 && pkg <> ".git" && pkg <> "_opam" 20 + (* space-wire has its own C generation approach *) 21 + && pkg <> "space-wire" 20 22 then 21 23 let lib_dir = Filename.concat pkg_dir "lib" in 22 24 if Sys.file_exists lib_dir && Sys.is_directory lib_dir then