Closed
Description
This is an example of an hlint hint from the emacs log
{
"severity": 3,
"range": {
"start": {
"line": 500,
"character": 0
},
"end": {
"line": 500,
"character": 50
}
},
"code": "Use camelCase",
"source": "hlint",
"message": "/home/alanz/mysrc/git.haskell.org/ghc/compiler/GHC/Parser/PostProcess.hs:501:1-50: Suggestion: Use camelCase\nFound:\n has_args :: [LMatch GhcPs (LHsExpr GhcPs)] -> Bool\nPerhaps:\n hasArgs :: [LMatch GhcPs (LHsExpr GhcPs)] -> Bool\n"
},
I think it would be better to remove the full location from the message
part, as it is already captured in the Range and Uri for the diagnostic.