Skip to content

Commit

Permalink
🔨 Fix launch problem matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Apr 16, 2024
1 parent dfdec3f commit a23e96f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"json.format.keepLines": true,
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.eslint": "always",
},
"editor.defaultFormatter": "dprint.dprint",
"editor.formatOnSave": true,
Expand Down
26 changes: 24 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,29 @@
"script": "watch",
"group": "build",
"isBackground": true,
"problemMatcher": "$tsc-watch",
"problemMatcher": {
"severity": "error",
"fileLocation": "absolute",
"source": "esbuild",
"background": {
"activeOnStart": true,
"beginsPattern": "Start building\\.\\.\\.",
"endsPattern": "Built successfully\\."
},
"pattern": [
{
"regexp": "ERROR in ([^\\(]*)\\((\\d+),(\\d+)\\):",
"file": 1,
"line": 2,
"column": 3
},
{
"regexp": "([A-Za-z0-9-]+):(.*)",
"message": 2,
"code": 1
}
]
},
"label": "npm: watch",
"detail": "Compiles all packages to JavaScript."
},
Expand Down Expand Up @@ -52,4 +74,4 @@
"detail": "Run tests of all packages."
}
]
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a23e96f

Please sign in to comment.