summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-08-17 21:21:33 -0400
committerBen Sima <ben@bsima.me>2023-08-17 22:44:07 -0400
commit0adce0283fda78617686e034dcde08fe9e4342ad (patch)
treeb2233b9c8457faf5d2dbb18241310b8b8fea240e
parentaac50fb4a0eea25a057bb2d7ebe80961c542a2a5 (diff)
Add --no-cabal flag to ormolu
-rw-r--r--Biz/Lint.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Biz/Lint.hs b/Biz/Lint.hs
index 0057c0e..cba6aef 100644
--- a/Biz/Lint.hs
+++ b/Biz/Lint.hs
@@ -108,8 +108,8 @@ ormolu :: Linter
ormolu =
Linter
{ exe = "ormolu",
- checkArgs = ["--mode", "check"],
- fixArgs = Just ["--mode", "inplace"]
+ checkArgs = ["--mode", "check", "--no-cabal"],
+ fixArgs = Just ["--mode", "inplace", "--no-cabal"]
}
hlint :: Linter