Skip to content

ValidateWarningV1

PromptScript API


Defined in: core/src/types/validate-report.ts:46

One warning of prs validate. With --strict a warning fails the run.

Properties

location?

optional location?: ValidateLocationV1

Defined in: core/src/types/validate-report.ts:57

Where the warning is


message

message: string

Defined in: core/src/types/validate-report.ts:53

Warning message


ruleId

ruleId: string

Defined in: core/src/types/validate-report.ts:51

Validator rule id

Example

"PS008"

suggestion?

optional suggestion?: string

Defined in: core/src/types/validate-report.ts:55

Suggested fix