Please sign in to comment.
[[FIX]] Remove `null` value from `errors` array (#3049)
When reporting unrecoverable errors, JSHint would insert two elements into the global `errors` array: a descriptor for the error itself, and a `null` value. Because this behavior is undocumented and inconsistent, it is most likely the result of a programming error. Ensure that the `JSHINT.errors` collection contains only error descriptor.
- Loading branch information...
Showing with 2 additions and 4 deletions.