- 
                Notifications
    You must be signed in to change notification settings 
- Fork 203
Closed
Description
HLS has historically reported all hlint diagnostics at "information" level. There is a proposal to instead respect hlint's severities. This seems nice, but putting hlint's diagnostics next to GHC's makes the severities for hlint seem a bit high overall.
I don't have a clear rubric, but it seems to me roughly that GHC's view of severities is something more like:
- Info: take it or leave it
- Warning: you're almost certainly doing something wrong here
- Error: so bad I can't continue
Whereas hlint's view seems more like:
- Info: take it or leave it
- Warning: many people would prefer the alternative
- Error: almost certainly something wrong
... and then there are custom errors, which I think people probably want to be severe.
Having written this down, I now think that perhaps the best thing to do would be to:
- Map hlint "error"s to "error"s (I'm tempted to say to "warning", but I think this might confuse people who have added custom error rules?)
- Map hlint "warning" and "hint"s both to "info"
Any thoughts?
fendor, georgefst and soulomoon
Metadata
Metadata
Assignees
Labels
No labels