Read the instructions.
Set the options.
Enjoy The Good Parts.
Donate.
The JavaScript Code Quality Tool

Source

Options

Tolerate...
bitwise operators
continue
debugger statements
== and !=
ES5 syntax
eval
unfiltered for in
uncapitalized constructors
Tolerate...
dangling _ in identifiers
++ and --
. and [^ ... ] in /RegExp/
misordered definitions
unused parameters
missing 'use strict' pragma
stupidity
inefficient subscripting
Tolerate...
TODO comments
many var statements per function
messy white space
CSS workarounds
HTML case
HTML event handlers
HTML fragments
 
 
Assume...
a browser
console,alert, ...
Node.js
Rhino
Windows

Stop on first error

Safe Subset
Verify ADsafe


JSLint Directive

Copyright 2002 Douglas Crockford. All Rights Reserved Wrrrldwide and Beyond!
Code Conventions for the JavaScript Programming Language.
Join the JSLint Group.