setup-deno
setup-deno copied to clipboard
add problem matcher for fmt and lint
setup-node uses github's problemMatcher to automatically add error message to TSC errors; it'd be great to have the same functionality, along with matchers for fmt and lint errors.
I've made this matcher for output of deno check
but I have no idea how to enable it and test if it works:
{
"problemMatcher": [
{
"owner": "deno-check",
"pattern": [
{
"regexp": "(TS\\d+) \\[(ERROR)\\]: (.*)",
"code": 1,
"severity": 2,
"message": 3
},
{
"regexp": ".*"
},
{
"regexp": ".*"
},
{
"regexp": "at file://(.+):(\\d+):(\\d+)$",
"file": 1,
"line": 2,
"column": 3
}
]
}
]
}