Fix matchers

This commit is contained in:
Danny McCormick 2019-06-18 14:52:43 -04:00
parent cf1f242ce7
commit 7c614ea4aa
2 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@
"owner": "eslint-compact",
"pattern": [
{
"regexp": "/^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s(Error|Warning|Info)\\s-\\s(.+)\\s\\((.+)\\)$/",
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s(Error|Warning|Info)\\s-\\s(.+)\\s\\((.+)\\)$",
"file": 1,
"line": 2,
"column": 3,

7
.github/tsc.json vendored
View file

@ -4,11 +4,12 @@
"owner": "tsc",
"pattern": [
{
"regexp": "/^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(\\d+)\\s+(.*)$/",
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
"file": 1,
"location": 2,
"code": 3,
"message": 4
"severity": 3,
"code": 4,
"message": 5
}
]
}