Is it possible to define a depends-on
relation for a formatter, like running stylish-haskell
should depend on ormolu
having been executed?
FYI @Abhishek Yadav
Similar to https://github.com/cachix/git-hooks.nix/issues/250 but for treefmt-nix
.
Maybe this: https://github.com/numtide/treefmt/issues/77
There is also another option to write a custom formatter that will run the dependent formatters sequentially
Last updated: Nov 15 2024 at 12:33 UTC