-
One particular issue with these tools is that they do not provide an option for the effects of conversion to occur in-place, unlike the common option of Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For the record, this sounds like the correct thing to do. From https://treefmt.com/latest/reference/formatter-spec/:
|
Beta Was this translation helpful? Give feedback.
-
For what is worth, I would like to share what I was able to come up with. I use the -nix counterpart directly, but one can easily apply this to the non-nix (this) part:
In my particular use case, I didn't need to convert tabs to spaces, but one probably can figure out from the regex how to do that. Hope it is helpful to someone on the interwebs. |
Beta Was this translation helpful? Give feedback.
For the record, this sounds like the correct thing to do. From https://treefmt.com/latest/reference/formatter-spec/: