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 |
---|---|
Author | Mathieu Barbin |
License | LGPL-3.0-or-later WITH LGPL-3.0-linking-exception |
Published | |
Homepage | https://github.com/mbarbin/dunolint |
Issue Tracker | https://github.com/mbarbin/dunolint/issues |
Maintainer | Mathieu Barbin <opensource@mbarbin.org> |
Dependencies |
|
Source [http] | https://github.com/mbarbin/dunolint/releases/download/0.0.20250804/dunolint-0.0.20250804.tbz sha256=e4ca7c98db73dd9ab2ae8cba37ee0645f580267484e9893dbce6e28f4f2f0170 sha512=7ca658fb96139a0c41724355ac6aaf83d75468c7df14569b8f6090711f73a8fb2408ed1145384e756418682f0fa660a915842fd2b3f8b42e5ed4990e795b384e |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/dunolint-lib/dunolint-lib.0.0.20250804/opam |
- dunolint>=0.0.20250804