1
1
mirror of https://github.com/srid/ema.git synced 2024-11-25 20:12:20 +03:00
ema/treefmt.toml

23 lines
440 B
TOML
Raw Normal View History

2022-05-05 02:54:57 +03:00
[formatter.haskell]
command = "fourmolu"
options = [
"--ghc-opt",
"-XImportQualifiedPost",
"--ghc-opt",
"-XTypeApplications",
"--mode",
"inplace",
"--check-idempotence",
]
includes = ["*.hs"]
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]
2022-05-21 16:48:16 +03:00
# https://github.com/srid/ema/pull/97#issuecomment-1166589918
# [formatter.cabal]
# command = "cabal-fmt"
# options = ["--inplace"]
# includes = ["*.cabal"]