- Login or register to hide this ad -
Main Page
From JSLintMessages
JSLint Messages
- ['{a}'] is better written in dot notation.
- {a} ({b}% scanned).
- '{a}' is better written without quotes.
- {b} {a} declared in a block.
- A '<{a}>' must be within '<{b}>'.
- A constructor name should start with an uppercase letter.
- A dot following a number can be confused with a decimal point.
- A leading decimal point can be confused with a dot '.{a}'.
- A trailing decimal point can be confused with a dot '{a}'.
- Adsafe restricted word '{a}'.
- Adsafe restriction.
- All 'debugger' statements should be removed.
- Assignment in control part.
- Attribute '{a}' does not belong in '<{b}>'.
- Bad assignment.
- Bad constructor.
- Bad escapement.
- Bad extern identifier '{a}'.
- Bad invocation.
- Bad jslint option '{a}'.
- Bad name '{a}'.
- Bad number '{a}'.
- Bad regular expression.
- Bad structure.
- Bad value '{a}'.
- Confusing minusses.
- Confusing plusses.
- Control character in string: {a}.
- Do not use the {a} function as a constructor.
- document.write can be a form of eval.
- Don't use extra leading zeros '{a}'.
- Each value should have its own case label.
- eval is evil.
- Expected '{a}' and instead saw '{b}'.
- Expected '{a}' to have an indentation of {b} instead of {c}.
- Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.
- Expected a 'break' statement before 'case'.
- Expected a 'break' statement before 'default'.
- Expected an assignment or function call and instead saw an expression.
- Expected an identifier and instead saw '{a}' (a reserved word).
- Expected an identifier and instead saw '{a}'.
- Expected an identifier in an assignment and instead saw a function invocation.
- Expected an operator and instead saw '{a}'.
- Expected to see a '(' or '=' or ':' or ',' or '[' preceding a regular expression literal, and instead saw '{a}'.
- Expected to see a statement and instead saw a block.
- Extra comma.
- Function statements are not invocable. Wrap the function expression in parens.
- HTML case error.
- Identifier {a} already declared as {b}.
- Implied eval is evil. Pass a function instead of a string.
- Inner functions should be listed at the top of the outer function.
- JavaScript URL.
- Label '{a}' looks like a javascript url.
- Label '{a}' on {b} statement.
- Line breaking error '{a}'.
- Missing '()' invoking a constructor.
- Missing ':' after '{a}'.
- Missing ':' on a case clause.
- Missing '{a}'.
- Missing boolean after '{a}'.
- Missing close quote on script attribute.
- Missing name in function statement.
- Missing 'new' prefix when invoking a constructor.
- Missing quote.
- Missing radix parameter.
- Missing semicolon.
- Missing space after '{a}'.
- Nested comment.
- 'new' should not be used as a statement.
- The Function constructor is eval.
- The 'language' attribute is deprecated.
- This 'switch' should be an 'if'.
- Unbegun comment.
- Unclosed comment.
- Unclosed string.
- Undefined {b} '{a}'.
- Unexpected '{a}'.
- Unexpected characters in '{a}'.
- Unexpected early end of program.
- Unexpected space after '{a}'.
- Unexpected use of '{a}'.
- Unmatched '{a}'.
- Unnecessary escapement.
- Unnecessary semicolon.
- Unreachable '{a}' after '{b}'.
- Unrecognized attribute '<{a} {b}>'.
- Unrecognized tag '<{a}>'.
- Use '{a}' to compare with '{b}'.
- Use the array literal notation [].
- Use the isNaN function to compare with NaN.
- Use the object literal notation {}.
- Variable {a} was used before it was declared.
- Weird construction. Delete 'new'.
- What the hell is this?
