You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/extend/custom-formatters.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,12 +106,12 @@ Each object in the `results` array is a `result` object. Each `result` object co
106
106
107
107
Each`message` object contains information about the ESLint rule that was triggered by some source code. The properties available on each`message` object are:
108
108
109
-
***ruleId**: the ID of the rule that produced the error or warning.
109
+
***ruleId**: the ID of the rule that produced the error or warning. If the error or warning was not produced by a rule (for example, if it's a parsing error), this is`null`.
110
110
***severity**: the severity of the failure,`1` for warnings and`2` for errors.
111
111
***message**: the human readable description of the error.
112
112
***line**: the line where the issue is located.
113
113
***column**: the column where the issue is located.
114
-
***nodeType**: the type of the node in the[AST](https://github.com/estree/estree/blob/master/es5.md#node-objects)
114
+
***nodeType**: the type of the node in the[AST](https://github.com/estree/estree/blob/master/es5.md#node-objects) or`null` if the issue isn't related to a particular AST node.