Open abovethewater opened 7 years ago
const lint = JSONLint('}', {comments: false})
Populates lint.error with:
Unknown character '}', expecting opening block '{' or '[', or maybe a comment
As comments are disabled the 'or maybe a comment' is incorrect
Populates lint.error with:
As comments are disabled the 'or maybe a comment' is incorrect