Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/terminal > IProblemCollectorOptions

IProblemCollectorOptions interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Constructor options for ProblemCollector.

Signature:

export interface IProblemCollectorOptions extends ITerminalWritableOptions 

Extends: ITerminalWritableOptions

Properties

Property

Modifiers

Type

Description

matcherJson?

IProblemMatcherJson[]

(BETA) (Optional) VS Code style problem matcher definitions. These will be converted to IProblemMatcher definitions.

matchers?

IProblemMatcher[]

(BETA) (Optional) The set of matchers that will be applied to each incoming line. Must contain at least one item.

onProblem?

(problem: IProblem) => void

(BETA) (Optional) Optional callback invoked immediately whenever a problem is produced.