Mostly inspired by How possible is a clippy-like linter for OCaml?
Lints: https://kakadu.github.io/zanuda/lints/index.html
API: https://kakadu.github.io/mylinter/api/ is currently empty
Examples of 'zanuda' usage could be found in the 'tests' directory. But in short:
Compile your dune project and run this linter via
dune build . @runtest -j3
zanuda -dir .It will report found issues using OCaml's alerts
zanuda -dump. CI runs regularly uploads information about available lints to Gihub Pages.Current dependecies:
opam install ppx_fields_conv ppx_blob base angstrom ppx_expect ppx_assert sexplib --yesRunning a single test:
dune build && dune build @ifbool --forceRunning all tests:
dune build && dune runtest --force