mirror of
https://github.com/actions/setup-node.git
synced 2025-02-23 13:49:33 +08:00

* 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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|