diff --git a/fmts/haskell.go b/fmts/haskell.go index 63fb8a4..67d6163 100644 --- a/fmts/haskell.go +++ b/fmts/haskell.go @@ -6,11 +6,17 @@ func init() { register(&Fmt{ Name: "hlint", Errorformat: []string{ - `%f:%l:%c: %m`, - `%A%f:%l:%c: %.%#: %m`, - `%Z%p^%#`, - `%C%.%#`, - `%-G%.%#`, + `%f:(%l,%c)-(%e,%k): %tarning: %A%m`, + `%f:(%l,%c)-(%e,%k): %trror: %A%m`, + `%f:(%l,%c)-(%e,%k): %tuggestion: %A%m`, + `%f:%l:%c-%k: %tarning: %A%m`, + `%f:%l:%c-%k: %trror: %A%m`, + `%f:%l:%c-%k: %tuggestion: %A%m`, + `%f:%l:%c: %tarning: %A%m`, + `%f:%l:%c: %trror: %A%m`, + `%f:%l:%c: %tuggestion: %A%m`, + `%C%m`, + `%-G%.%#` }, Description: "Linter for Haskell source code", URL: "https://github.com/ndmitchell/hlint",