Conversation
|
I don't see a link to your issue anywhere so adding one for convenience: #793 I've replied there with some thoughts on the issue itself -- if we decide an upstream change is appropriate then we can discuss further on this PR? |
|
My understanding is that If that's correct, then I'd either recommend overriding the |
Yes -- specifically,
Note that any such I could see a case for some more generic handling in the base |
|
That workaround seems a bit inelegant and I generally don't want to proliferate that kind of logic within conform. If there's really no easy way to tell if treefmt-nix should be used in a directory or not I might suggest that this would best be solved with |
|
Yeah, I think that makes sense. I'd be in favor of closing the PR and closing #793 as well. |
|
Note that |
As mentioned in my issue, while the check for treefmt.toml makes sense, it fails when the toml file is not there, leading to undesired behavior(as is the case in nix, using either treefmt-nix or nixpkgs.treefmt.withConfig). Marking as draft so that me and @zivarah can discuss over what we should do