dunolint-libversion Documentation on ocaml.org

A library to create dunolint configs

[dunolint] is a set of OCaml libraries and a cli tool to lint and help manage files in (large) dune projects.

[dunolint-lib] is the package you need as a user to define a dunolint config, without pulling all the dependencies required by the linter engine and command line.

It defines a configuration language in which you can express linting invariants for your projects. The tool will enforce these invariants, applying global and systematic changes automatically when able, and help with general ergonomics questions.

For example: "I want for all libs in this subdirectory to enable bisect_ppx, please go patch my dune files". Or, "I would like all libraries that verify this particular predicate to supply the ppx flag -unused-code-warnings=force", and more.

You can setup [dunolint] as part of your CI checks to help enforcing properties and linting checks going forward.

Tags dune linter
AuthorMathieu Barbin
LicenseLGPL-3.0-or-later WITH LGPL-3.0-linking-exception
Published
Homepagehttps://github.com/mbarbin/dunolint
Issue Trackerhttps://github.com/mbarbin/dunolint/issues
MaintainerMathieu Barbin <opensource@mbarbin.org>
Dependencies
Source [http] https://github.com/mbarbin/dunolint/releases/download/0.0.20260306/dunolint-0.0.20260306.tbz
sha256=d92e0d705b661ea12b22dcc9bdd83815c507218c1de085d75140fd47bea0c5ec
sha512=fdf4fbb4906aba4aeab766dfa5202b64950c71c988b1b84363319dd05edb93b34142355f968a5687057977e40defdced20a2a17ee0614565096eb123655621f3
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dunolint-lib/dunolint-lib.0.0.20260306/opam
Required by