diff --git a/Language/Haskell/GhcMod/Lint.hs b/Language/Haskell/GhcMod/Lint.hs index faca6eb..bdc9201 100644 --- a/Language/Haskell/GhcMod/Lint.hs +++ b/Language/Haskell/GhcMod/Lint.hs @@ -3,7 +3,6 @@ module Language.Haskell.GhcMod.Lint where import Control.Applicative ((<$>)) import Data.List (intercalate) import Language.Haskell.GhcMod.Types -import Language.Haskell.GhcMod.Utils import Language.Haskell.HLint (hlint) -- | Checking syntax of a target file using hlint. @@ -22,4 +21,4 @@ lintSyntax opt file = pack <$> lint hopts file lint :: [String] -> FilePath -- ^ A target file. -> IO [String] -lint hopts file = map show <$> suppressStdout (hlint (file : hopts)) +lint hopts file = map show <$> hlint (file : "--quiet" : hopts) diff --git a/ghc-mod.cabal b/ghc-mod.cabal index 3e609ce..9ea9352 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -72,7 +72,7 @@ Library , filepath , ghc , ghc-syb-utils - , hlint >= 1.8.58 + , hlint >= 1.8.61 , io-choice , old-time , process