Closed EvanPiro closed 5 days ago
I wouldn't enable it by default, but we can add documentation (linked from README.md) explaining to the user how to do it ... possibly based on:
Relevant: #36 (a nix check to make sure that source code was autoformatted).
Closing in favour of https://github.com/srid/haskell-flake/issues/136
Putting auto-formatting on a per commit basis would save the developer time resolving formatting issues due to failing CI.
Getting something like the following in a githook would suffice:
nix develop -c "treefmt"