Repository navigation
|
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! |
Replies: 2 comments
For the record, this sounds like the correct thing to do. From https://treefmt.com/latest/reference/formatter-spec/:
|
|
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. |
For the record, this sounds like the correct thing to do. From https://treefmt.com/latest/reference/formatter-spec/: