on develop help sign in
Disable hlint for tests
b415758Ryan Trinkle
test/hlint.hs+1−1
@@ -31,7 +31,7 @@ main = do
31 , let notElem' = liftOp notElem
31 , let notElem' = liftOp notElem
32 in filePath `notElem'` filePathExceptions pwd
32 in filePath `notElem'` filePathExceptions pwd
33 ]
33 ]
34− files <- find recurseInto matchFile pwd
34+ files <- find recurseInto matchFile (pwd </> "src") --TODO: Someday fix all hints in tests, etc.
35 ideas <- fmap concat $ forM files $ \f -> do
35 ideas <- fmap concat $ forM files $ \f -> do
36 putStr $ "linting file " ++ drop (length pwd + 1) f ++ "... "
36 putStr $ "linting file " ++ drop (length pwd + 1) f ++ "... "
37 runHlint f
37 runHlint f