treefmt: add cabal-fmt

This commit is contained in:
Sridhar Ratnakumar 2022-05-08 18:39:45 -04:00
parent ac77f14557
commit 1f8760d9c9

View file

@ -14,3 +14,8 @@ includes = ["*.hs"]
[formatter.nix] [formatter.nix]
command = "nixpkgs-fmt" command = "nixpkgs-fmt"
includes = ["*.nix"] includes = ["*.nix"]
[formatter.cabal]
command = "cabal-fmt"
options = ["--inplace"]
includes = ["*.cabal"]