this repo has no description
1opam-version: "2.0"
2synopsis: "A library to create dunolint configs"
3maintainer: ["Mathieu Barbin <opensource@mbarbin.org>"]
4authors: ["Mathieu Barbin"]
5license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
6homepage: "https://github.com/mbarbin/dunolint"
7doc: "https://mbarbin.github.io/dunolint/"
8bug-reports: "https://github.com/mbarbin/dunolint/issues"
9depends: [
10 "dune" {>= "3.17"}
11 "ocaml" {>= "5.3"}
12 "base" {>= "v0.17"}
13 "dune-glob" {>= "3.17"}
14 "fpath-base" {>= "0.2.2"}
15 "ppx_compare" {>= "v0.17"}
16 "ppx_enumerate" {>= "v0.17"}
17 "ppx_hash" {>= "v0.17"}
18 "ppx_here" {>= "v0.17"}
19 "ppx_let" {>= "v0.17"}
20 "ppx_sexp_conv" {>= "v0.17"}
21 "ppx_sexp_value" {>= "v0.17"}
22 "ppxlib" {>= "0.35.0"}
23 "re" {>= "1.8.0"}
24 "sexplib0" {>= "v0.17"}
25 "odoc" {with-doc}
26]
27build: [
28 ["dune" "subst"] {dev}
29 [
30 "dune"
31 "build"
32 "-p"
33 name
34 "-j"
35 jobs
36 "@install"
37 "@runtest" {with-test}
38 "@doc" {with-doc}
39 ]
40]
41dev-repo: "git+https://github.com/mbarbin/dunolint.git"
42description: """\
43
44[dunolint] is a set of OCaml libraries and a cli tool to lint and help
45manage files in (large) dune projects.
46
47[dunolint-lib] is the package you need as a user to define a dunolint
48config, without pulling all the dependencies required by the linter
49engine and command line.
50
51It defines a configuration language in which you can express linting
52invariants for your projects. The tool will enforce these invariants,
53applying global and systematic changes automatically when able, and
54help with general ergonomics questions.
55
56For example: "I want for all libs in this subdirectory to enable
57`bisect_ppx`, please go patch my dune files". Or, "I would like all
58libraries that verify this particular predicate to supply the ppx flag
59`-unused-code-warnings=force`", and more.
60
61You can setup [dunolint] as part of your CI checks to help enforcing
62properties and linting checks going forward.
63
64"""
65tags: [ "dune" "linter" ]
66x-maintenance-intent: [ "(latest)" ]
67url {
68 src:
69 "https://github.com/mbarbin/dunolint/releases/download/0.0.20250310/dunolint-0.0.20250310.tbz"
70 checksum: [
71 "sha256=b44119c96aeabb960e852711c2f20ae43f0011e796f05e012141ba980a5b58f6"
72 "sha512=5bf76732adc940db6cac0875e94c3eaff436288faba95388b9675c68b3f30f5362e01f289fc8a096325f7db812ace273773a1e051ab7d7ace3b8db4a57a0e070"
73 ]
74}
75x-commit-hash: "8c0c34d8f7c250aff52881a2fe25569488c8dbf5"