Skip to content
Permalink
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>
  • Loading branch information
btmills and mdjermanovic committed Apr 1, 2021
1 parent cd2e584 commit c85c2f1138a9e952655f19ee780ab0c8e35431a8
Showing 1 changed file with 2 additions and 0 deletions.
@@ -353,6 +353,8 @@ The `LintMessage` value is the information of each linting error. The `messages`
The rule name that generates this lint message. If this message is generated by the ESLint core rather than rules, this is `null`.
* `severity` (`1 | 2`)<br>
The severity of this message. `1` means warning and `2` means error.
* `fatal` (`boolean | undefined`)<br>
`true` if this is a fatal error unrelated to a rule, like a parsing error.
* `message` (`string`)<br>
The error message.
* `line` (`number`)<br>

0 comments on commit c85c2f1

Please sign in to comment.