mirror of
https://github.com/actions/setup-node.git
synced 2024-12-25 23:30:59 +08:00
46071b5c7a
* Fix TypeScript error line/column * Adopt official pattern from VS Code * Minor cleanup * Add tests for tsc problem matcher Co-authored-by: Lukas Spieß <lumaxis@github.com>
19 lines
486 B
JSON
19 lines
486 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "tsc",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+TS(\\d+)\\s*:\\s*(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"code": 5,
|
|
"message": 6
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|