LintDiagnostic
Defined in: types.ts:12
Diagnostic result from a lint rule
Properties
Section titled “Properties”code:
string
Defined in: types.ts:14
Rule code (e.g., ‘no-duplicate-definition’)
file:
string
Defined in: types.ts:20
File path where the issue was found (Mandatory in the final diagnostic)
message
Section titled “message”message:
string
Defined in: types.ts:18
Diagnostic message
severity
Section titled “severity”severity:
Severity
Defined in: types.ts:16
Severity level
sourcePos?
Section titled “sourcePos?”
optionalsourcePos:SourcePos
Defined in: types.ts:22
Position in the source file