Skip to content

Commit c85c2f1

Browse files
Docs: Add fatal to Node.js API LintMessage type (#14251)
* Docs: Add fatal to Node.js API LintMessage type * Docs: LintMessage.fatal is an optional property Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
1 parent cd2e584 commit c85c2f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/developer-guide/nodejs-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ The `LintMessage` value is the information of each linting error. The `messages`
353353
The rule name that generates this lint message. If this message is generated by the ESLint core rather than rules, this is `null`.
354354
* `severity` (`1 | 2`)<br>
355355
The severity of this message. `1` means warning and `2` means error.
356+
* `fatal` (`boolean | undefined`)<br>
357+
`true` if this is a fatal error unrelated to a rule, like a parsing error.
356358
* `message` (`string`)<br>
357359
The error message.
358360
* `line` (`number`)<br>

0 commit comments

Comments
 (0)