hoovercj/vscode-haskell-linter

hlint suggestions appear as errors, not warnings in vs code

andrewufrank opened this issue · 0 comments

I am using VS code (1.32) and are new to it, thus my question may be the result of a confusion. I have hlint 2..1.15 and linter 0.0.6 on Linux and use stack to build. I need often to see only errors but not other suggestions. I have not set anything in the settings (except for log level error, but I fear this is not relevant here).

I get as errors (with red dot with white cross) "hlint Suggestion ..." and plain compiler errors (e.g. "parse error on ..."); I get as warnings (with yellow triangle) real suggestions (e.g. "The import of xxx is redundant"). I have the impression that the hlint suggestions should be labeled as warning and not error.

What is my error or misunderstanding?