You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have a .ocamlformat configuration that grew organically over time. It has many options (that interact with each other). And changing that file is always tricky (creates noise, makes existing PR harder to merge, requires us to go through the diff to make sure that we didn't introduce some ugly formatting, ...). But it actually contains values that are the default, which could be removed from our config, and would make the whole thing less scary. And it's kind of hard to know that without reading help.txt for each option we are using.
Describe the solution you'd like
I'd like to have an option like --print-config (or maybe a new flag that would affect --print-config) to show only the minimum .ocamlformat required for our project. Or maybe which would show a warning for every option we use that is also the default value
This is part of an effort to try to preserve the usage of ocamlformat in our codebase despite the fact that some deprecated options look critical to us.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have a .ocamlformat configuration that grew organically over time. It has many options (that interact with each other). And changing that file is always tricky (creates noise, makes existing PR harder to merge, requires us to go through the diff to make sure that we didn't introduce some ugly formatting, ...). But it actually contains values that are the default, which could be removed from our config, and would make the whole thing less scary. And it's kind of hard to know that without reading help.txt for each option we are using.
Describe the solution you'd like
I'd like to have an option like
--print-config
(or maybe a new flag that would affect--print-config
) to show only the minimum .ocamlformat required for our project. Or maybe which would show a warning for every option we use that is also the default valueAdditional context
Our .ocamlformat
would become
This is part of an effort to try to preserve the usage of ocamlformat in our codebase despite the fact that some deprecated options look critical to us.
The text was updated successfully, but these errors were encountered: