I am looking for a problem matcher that can detect two types of issues:
- compilation problems related to TypeScript
- issues flagged by tslint
This feature seems to be causing trouble in one of my projects, although it functions properly in others. Below is the problem matcher configuration from the .vscode/tasks.json
file:
"problemMatcher": [
"$tsc",
{
"owner": "tslint",
"fileLocation": "relative",
"severity": "error",
"pattern": {
"regexp": "^ERROR:\\s*(.*\\.ts)\\[(\\d+), (\\d+)\\]: (.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
}
]