jslint-error-explanations icon indicating copy to clipboard operation
jslint-error-explanations copied to clipboard

:memo: Explanations of all the (sometimes cryptic) error messages thrown by JSLint and JSHint

Results 15 jslint-error-explanations issues
Sort by recently updated
recently updated
newest added
trafficstars

JSLint: Unexpected 'typeof'. Use '===' to compare directly with undefined. Debatable message. undefined is not real keyword and can be easily reassigned. Shouldn't I compare with typeof instead?

article-request

I see that it gets mentioned below errors but the link provided is a long page of documentation with no hint on how this "special" option syntax works.

http://lint-explain.herokuapp.com/strings-must-use-singlequote/ (identifier W109) doesn't mention the configuration option "allow-avoiding-escaped-quotes", or contain a link to further documentation about quotmark. Is that normal for jslint-error-explanations?

Expected 'while' to be in a function. while ((pin < 1000) || (pin > 9999)) {

JSLint provides an error of 'Wrap the parameter in parens.' in some instances. I am having trouble figuring out what the cause of this error is and would appreciate it...

the website http://jslinterrors.com/ is not available... the same for https://jamesallardice.github.com/jslint-error-explanations/

Actually the current error page delivered by Cloudflare is confusing. It does not only look ugly, but I really [thought](https://github.com/AtomLinter/linter-jshint/issues/296) this would be such a usual error message by Cloudflare...

When invoking the API's /lint request endpoint, I seem to be always getting a 400 error saying: "Missing parameter: code" This is despite providing the "code" or "c" as a...

``` js console.info('Hello world'); ``` Explanation can be found [here](http://eslint.org/docs/rules/no-console).

I have this error with JSLint: W040 - Possible strict violation. But i couldn't find an article about this error on the website. This error happened when you use the...