Add Haskell formatters to horizon.formatting
Summary
Adds Haskell-specific formatters to the default horizon.formatting configuration, providing comprehensive formatting coverage for Horizon Haskell projects.
Changes
Adds three new formatters to nix/modules/flake/horizon-formatting.nix:
- cabal-fmt: Formats Cabal package files (.cabal)
- hlint: Haskell linter and code quality tool
- stylish-haskell: Formats Haskell source code
These complement the existing formatters:
- deadnix (Nix)
- dhall (Dhall)
- nixpkgs-fmt (Nix)
- statix (Nix)
Benefits
- Projects using
horizon.formatting.enable = truenow get Haskell formatting by default - Removes need for manual treefmt configuration in Haskell projects
- Consistent formatting across all Horizon Haskell projects
Impact
This is a backward-compatible change. Projects already manually configuring these formatters can remove that configuration after updating to this version.