LintDiagnostic
Defined in: types.ts:28
Diagnostic produced by a lint rule
Properties
Section titled “Properties”code:
string
Defined in: types.ts:30
Rule code (e.g., ‘no-redefinition’)
optionalfile:string
Defined in: types.ts:36
File where the issue was found
message
Section titled “message”message:
string
Defined in: types.ts:34
Diagnostic message
severity
Section titled “severity”severity:
Severity
Defined in: types.ts:32
Severity level
sourcePos?
Section titled “sourcePos?”
optionalsourcePos:SourcePos
Defined in: types.ts:38
Source position in the file