From 0adce0283fda78617686e034dcde08fe9e4342ad Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 17 Aug 2023 21:21:33 -0400 Subject: Add --no-cabal flag to ormolu --- Biz/Lint.hs | 4 ++-- 1 file 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 -- cgit v1.2.3