-
Notifications
You must be signed in to change notification settings - Fork 271
fix: treefmt #794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix: treefmt #794
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