Stream: nix

Topic: define order of formatters in treefmt-nix


view this post on Zulip Shivaraj B H (Apr 10 2024 at 11:04):

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

view this post on Zulip Srid (Apr 11 2024 at 06:43):

Similar to https://github.com/cachix/git-hooks.nix/issues/250 but for treefmt-nix.

Maybe this: https://github.com/numtide/treefmt/issues/77

view this post on Zulip Shivaraj B H (Apr 11 2024 at 10:55):

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