Skip to content

LintDiagnostic

Defined in: types.ts:28

Diagnostic produced by a lint rule

code: string

Defined in: types.ts:30

Rule code (e.g., ‘no-redefinition’)


optional file: string

Defined in: types.ts:36

File where the issue was found


message: string

Defined in: types.ts:34

Diagnostic message


severity: Severity

Defined in: types.ts:32

Severity level


optional sourcePos: SourcePos

Defined in: types.ts:38

Source position in the file