Opinionated OCaml linter with Merlin integration for code quality, naming conventions, and style checks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

textloc -> loc: rename package, drop Sort_kind, use dune re_export

Rename the shared location/error-infrastructure package to 'loc' (module
Loc), dropping the awkward 'textloc' / 'Textloc' naming. Consumers now
write [Sexpt.Meta], [Sexpt.Error], [Loc.t], etc.

- ocaml-textloc -> ocaml-loc (directory, opam, module).
- Dropped the single-function Sort_kind module; parsers inline the
one-liner at their local Sort.kinded definitions.
- Parser dunes use [(re_export loc)] so downstream consumers don't need
to declare loc in their own dune or opam.
- monopam lint: new [collect_exports] walks META [exports] fields
(dune's re_export metadata) and expands each opam package's
effective dep set with everything its declared deps re-export.
[Fl_split.in_words] replaces the ad-hoc whitespace splitter.
- merlint: drop 'loc' from its dune-project depends -- reaches via
sexpt re_export.
- Consumers (cdm, s3, test files) updated to [Loc.*] naming.

All 360 tests pass (26 loc + 177 xmlt + 60 csvt + 77 sexpt + 20
dune-codec).

+1 -4
-1
dune-project
··· 28 28 fmt 29 29 astring 30 30 sexpt 31 - textloc 32 31 tty 33 32 vlog 34 33 (alcotest :with-test)))
+1 -2
lib/dune
··· 16 16 tty 17 17 jsont 18 18 jsont.bytesrw 19 - sexpt 20 - textloc)) 19 + sexpt)) 21 20 22 21 (rule 23 22 (target examples.ml)
-1
merlint.opam
··· 23 23 "fmt" 24 24 "astring" 25 25 "sexpt" 26 - "textloc" 27 26 "tty" 28 27 "vlog" 29 28 "alcotest" {with-test}