Break shared handlers up into their own files, and fix stylelint error handling

This commit is contained in:
w0rp
2017-04-24 22:27:18 +01:00
parent b4c0335ebc
commit a03121f5b0
44 changed files with 263 additions and 272 deletions

View File

@@ -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)',
\ ])