You can run:
hlint "--ignore=Parse error" MyFile.hs
There is verification that this call works in the HLint test suite .
Please note that as soon as a parsing error occurs, you will not receive any other hints from the file, since HLint cannot work with the file until it is parsed.
However, if you upgrade to haskell-src-exts-1.15 or higher, reinstall HLint, it should parse the multi-user mode - if that is good. If not, report a bug .
Neil mitchell
source share