Warning on unused module


Often, I import some module into my code,
And after some refactoring, some imported modules are no longer used.

Can I Have a warning on unused modules ?

I tried the warning +60 (https://caml.inria.fr/pub/docs/manual-ocaml/comp.html) but it doesn’t seem to work.

An idea ?


We were looking into this too and it turns out warning 60 isn’t available yet in the version of OCaml BuckleScript is using. Looking forward to turning this one on when it’s updated!