mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-13 08:33:20 -07:00
Enable autofix support. It's still preliminary.
This commit is contained in:
parent
bcd13614eb
commit
eb588f62f6
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue