Enable autofix support. It's still preliminary.
This commit is contained in:
parent
bcd13614eb
commit
eb588f62f6
|
@ -130,8 +130,7 @@ outputForFile color sys comments = do
|
||||||
putStrLn (color "source" line)
|
putStrLn (color "source" line)
|
||||||
mapM_ (\c -> putStrLn (color (severityText c) $ cuteIndent c)) commentsForLine
|
mapM_ (\c -> putStrLn (color (severityText c) $ cuteIndent c)) commentsForLine
|
||||||
putStrLn ""
|
putStrLn ""
|
||||||
-- FIXME: Enable when reasonably stable
|
showFixedString color comments lineNum line
|
||||||
-- showFixedString color comments lineNum line
|
|
||||||
) groups
|
) groups
|
||||||
|
|
||||||
hasApplicableFix lineNum comment = fromMaybe False $ do
|
hasApplicableFix lineNum comment = fromMaybe False $ do
|
||||||
|
|
Loading…
Reference in New Issue