Home > @rushstack/node-core-library > IProblemPattern
IProblemPattern interface
VS Code style problem matcher pattern definition.
Signature:
export declare interface IProblemPattern
Remarks
This mirrors the shape used in VS Code's problemMatcher.pattern entries. Reference: https://code.visualstudio.com/docs/editor/tasks\#\_defining-a-problem-matcher
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) Match index for the problem code. | ||
number | (Optional) Match index for the starting column number. | ||
number | (Optional) Match index for the ending column number. | ||
number | (Optional) Match index for the ending line number. | ||
number | (Optional) Match index for the file path. | ||
number | (Optional) Match index for the starting line number. | ||
number | (Optional) Match index for the location. | ||
boolean | (Optional) If true, the last pattern in a multi-line matcher may repeat (loop) producing multiple problems | ||
number | Match index for the problem message. | ||
string | A regular expression used to match the problem. | ||
number | (Optional) Match index for the severity level. |