Ocamlformat --enable-outside-detected-project?

I don’t understand what’s the rationale behind this very convenient to type flag.

Sometimes I would like to test ocamlformat on some of my files to see if I can eventually tweak an ocamlformat that makes its output decent enough for me to consider.

What’s wrong with simply allowing me to ocamlformat file | diff - file so that it picks up my global ~/.config/ocamlformat if no .ocamlformat was found along the way like most tools do ?

7 Likes