ndmitchell/hlint — pull request #72 by iustin (2014-07-27 20:52:40+00:00)
Title: Change colour output behaviour

See the commit description for details. I don't have a Windows ghc installation, so I can't test that it indeed does the right thing there, so beware. I added the ColourMode type since CmdArgs doesn't seem to have an on/off/auto type parameter (Maybe Bool is not good, since you can't explicitly pass Nothing - any passed value is a Just). The Windows-vs-Linux handling is done via different defaults (off on Windows, auto on non-Windows).

Let me know if you'd prefer a different way to handle this. And thanks for reviewing!