Recently, I started wondering about linting tools for OCaml, so I went looking. This ended up being a quite extensive survey. Therefore, I decided to publish my findings in a blog post: OCaml linting tools and techniques.
In particular, I focused on linting with dune and Ppxlib because there’s many variations out there. In the post I describe the technical choices that go into such linters and provide an overview of those that work and how well. In the process of experimenting, I tried them out myself and published them as demos on GitHub: sim642/dune-lint-demo.
Feel free to let me know if I missed any tools out there or you have any questions/comments. There isn’t much information about this out there (and existing tool does it slightly differently), so I hope this overview benefits others as well.
1 post - 1 participant