Skip to content

Commit

Permalink
Simplify webview dev task problem matcher (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbom authored Dec 28, 2023
1 parent f42c5a8 commit a71f3d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
30 changes: 8 additions & 22 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,15 @@
"label": "dev:webview",
"type": "npm",
"script": "dev:webview",
"problemMatcher": [
{
"fileLocation": "absolute",
"background": {
"activeOnStart": true,
"beginsPattern": "^(?:.* page reload |\\[TypeScript\\]).*",
"endsPattern": "^.*\\[TypeScript\\].*"
},
"pattern": [
{
"regexp": "^ (ERROR|WARNING)\\(TypeScript\\) (.*)",
"severity": 1,
"message": 2
},
{
"regexp": "^ FILE (.*):(\\d*):(\\d*)$",
"file": 1,
"line": 2,
"column": 3
}
]
"problemMatcher": {
"base": "$tsc-watch",
"fileLocation": "absolute",
"background": {
"activeOnStart": true,
"beginsPattern": "^(?:.* page reload |\\[TypeScript\\]).*",
"endsPattern": "^.*\\[TypeScript\\].*"
}
],
},
"isBackground": true,
"presentation": {
"reveal": "never"
Expand Down
2 changes: 1 addition & 1 deletion webview-ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
project: "./tsconfig.json",
project: ["./tsconfig.json", "./tsconfig.node.json"],
sourceType: "module",
ecmaFeatures: {
jsx: true,
Expand Down

0 comments on commit a71f3d0

Please sign in to comment.