Jonas Chevalier
Jonas Chevalier
yeah, that makes sense. Do you have the time to finish this PR so it takes `pkgs.treefmt.withConfig { config = ...; projectRootFile = "..."; }`, all of this gets passed...
ok, I think this is ready now. Any last words/feedback?
Rebased. It looks like flake.parts doesn't support the formatter option yet. I will give it another shot next week.
Blocked on https://github.com/hercules-ci/flake-parts/pull/56
ok, I think this is ready
I'm unsure about the policy regarding nix modules in the pkgs/ tree. Are there any precedents?
that's not quite the same, plus it's using IFD :-D With @Mic92 we discussed moving this to another repo, so all the module systems could live separate from the code,...
Now live at https://github.com/numtide/treefmt-nix . Looking for feedback!
Related to https://github.com/numtide/treefmt/issues/78
I wanted to fix upstream but at the point where the config is written back, the code has only an AST available. I think the AST would have to somehow...