'Skip the scan the task output when running a command from task.json

I have configured a custom task of type shell from vscode.

This task will be a simple one and I do not expect any errors, hence just to save one click, I would like to skip the prompt to select for which kind of errors or warnings to scan the output.

Any ideas on how I can achieve this or is this even possible? Many thanks!

enter image description here



Solution 1:[1]

Prompt can be skipped with setting problemMatcher property as empty array in specific task:

{
    "label": "echo hello world",
    "type": "shell",
    "command": "echo Hello",
    "problemMatcher": []
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Raul