1
1
mirror of https://github.com/srid/ema.git synced 2024-11-29 09:25:14 +03:00
ema/treefmt.toml
Sridhar Ratnakumar 3c73aca38a
Use GHC 9.2
Also, disable Github Actions as Nix cache doesn't have 9.2 yet. Garnix is fine.
2022-06-26 16:03:22 -04:00

23 lines
440 B
TOML

[formatter.haskell]
command = "fourmolu"
options = [
"--ghc-opt",
"-XImportQualifiedPost",
"--ghc-opt",
"-XTypeApplications",
"--mode",
"inplace",
"--check-idempotence",
]
includes = ["*.hs"]
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]
# https://github.com/srid/ema/pull/97#issuecomment-1166589918
# [formatter.cabal]
# command = "cabal-fmt"
# options = ["--inplace"]
# includes = ["*.cabal"]