mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Break shared handlers up into their own files, and fix stylelint error handling
This commit is contained in:
@@ -8,7 +8,7 @@ Execute(The ghc handler should handle hdevtools output):
|
||||
\ 'text': '• Couldnt match type ‘a -> T.Text’ with ‘T.Text’ Expected type: [T.Text]',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#handlers#HandleGhcFormat(12, [
|
||||
\ ale#handlers#haskell#HandleGHCFormat(12, [
|
||||
\ '/path/to/foo.hs:147:62: warning:',
|
||||
\ '• Couldnt match type ‘a -> T.Text’ with ‘T.Text’',
|
||||
\ ' Expected type: [T.Text]',
|
||||
@@ -30,7 +30,7 @@ Execute(The ghc handler should handle ghc 8 output):
|
||||
\ 'text': ' Failed to load interface for ‘GitHub.Endpoints.PullRequests’ Use -v to see a list of the files searched for.',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#handlers#HandleGhcFormat(47, [
|
||||
\ ale#handlers#haskell#HandleGHCFormat(47, [
|
||||
\ '',
|
||||
\ 'src/Appoint/Lib.hs:6:1: error:',
|
||||
\ ' Failed to load interface for ‘GitHub.Data’',
|
||||
@@ -51,7 +51,7 @@ Execute(The ghc handler should handle ghc 7 output):
|
||||
\ 'text': ' parse error (possibly incorrect indentation or mismatched brackets)',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#handlers#HandleGhcFormat(47, [
|
||||
\ ale#handlers#haskell#HandleGHCFormat(47, [
|
||||
\ 'src/Main.hs:168:1:',
|
||||
\ ' parse error (possibly incorrect indentation or mismatched brackets)',
|
||||
\ ])
|
||||
|
||||
Reference in New Issue
Block a user