From ec740666e2d3c610e5d68f3e8765da0ceafc7be3 Mon Sep 17 00:00:00 2001 From: nbogie Date: Sun, 13 Aug 2023 13:07:41 +0100 Subject: [PATCH] tidy tasks.json --- .vscode/tasks.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a2cdfdc..091d0ad 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,18 +9,19 @@ "dependsOrder": "sequence", "group": { "kind": "build", + //make this the default build task (often mapped as ctrl-shift-b) "isDefault": true } }, { //this is npm even if you're using yarn "type": "npm", + //label is used in menus and in the compound task above + "label": "type-check", //which script in package.json to run "script": "type-check", - "label": "type-check", //feed the output of tsc into vscode's "problems" list "problemMatcher": "$tsc", - //make this the default build task (often mapped as ctrl-shift-b) "group": { "kind": "build" }, @@ -31,17 +32,18 @@ //otherwise, don't open the terminal with tsc's happy output //comment this out if you are debugging this task "reveal": "silent", + //close terminal after task runs "close": true } }, { "type": "npm", + "label": "lint", "script": "lint", "group": { "kind": "build" }, "problemMatcher": ["$eslint-stylish"], - "label": "lint", "presentation": { "revealProblems": "onProblem", "reveal": "silent",