Skip to content

Commit

Permalink
Update LintMessage docs
Browse files Browse the repository at this point in the history
This updates existing documented properties to match the updated `LintMessage`
type and implementations.

`messageId`, `nodeType`, and `suppressions` remain undocumented.
  • Loading branch information
btmills committed May 7, 2023
1 parent bb09247 commit 55bed08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/extend/custom-processors.md
Expand Up @@ -59,19 +59,19 @@ Reported problems have the following location information in each lint message:
type LintMessage = {

/// The 1-based line number where the message occurs.
line: number;
line?: number;

/// The 1-based column number where the message occurs.
column: number;
column?: number;

/// The 1-based line number of the end location.
endLine: number;
endLine?: number;

/// The 1-based column number of the end location.
endColumn: number;
endColumn?: number;

/// If `true`, this is a fatal error.
fatal: boolean;
fatal?: boolean;

/// Information for an autofix.
fix: Fix;
Expand Down

0 comments on commit 55bed08

Please sign in to comment.