dunolint-libversion

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.20250310/dunolint-0.0.20250310.tbz
sha256=b44119c96aeabb960e852711c2f20ae43f0011e796f05e012141ba980a5b58f6
sha512=5bf76732adc940db6cac0875e94c3eaff436288faba95388b9675c68b3f30f5362e01f289fc8a096325f7db812ace273773a1e051ab7d7ace3b8db4a57a0e070
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dunolint-lib/dunolint-lib.0.0.20250310/opam
Required by