mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-22 18:11:02 -05: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>
18 lines
486 B
JSON
18 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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|