upenn-cis1xx / camelot

A fully-modular OCaml style linter
https://opam.ocaml.org/packages/camelot/
Apache License 2.0
44 stars 5 forks source link

We don't check x = true #60

Closed Vighnesh-V closed 3 years ago

Vighnesh-V commented 3 years ago

We should be flagging checking equality with boolean literals - right now we only do option literals and list literals.

This should be a fairly straightforward rule addition to the equality.ml module in style :)