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.20251006/dunolint-0.0.20251006.tbz
sha256=1b064927c9e1ef5352a1886ae34a206fef0ce6a913c19a77b0162acc108e0e50
sha512=6cbc08ba318bef6584d15a4491e3dde1bf436109ce0f8b7c400a9f91bbcee64c5785bc924df11eafe98243ec2f188a7f92c58c5062729f3e2af1e9977f1a5e67
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dunolint-lib/dunolint-lib.0.0.20251006/opam
Required by