Skip to content

Latest commit

 

History

History
258 lines (115 loc) · 2.72 KB

File metadata and controls

258 lines (115 loc) · 2.72 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

code?

number

(Optional) Match index for the problem code.

column?

number

(Optional) Match index for the starting column number.

endColumn?

number

(Optional) Match index for the ending column number.

endLine?

number

(Optional) Match index for the ending line number.

file?

number

(Optional) Match index for the file path.

line?

number

(Optional) Match index for the starting line number.

location?

number

(Optional) Match index for the location.

loop?

boolean

(Optional) If true, the last pattern in a multi-line matcher may repeat (loop) producing multiple problems

message

number

Match index for the problem message.

regexp

string

A regular expression used to match the problem.

severity?

number

(Optional) Match index for the severity level.