Read the instructions.
Set the options.
Enjoy The Good Parts.
The New Version: ALPHA.
The JavaScript Code Quality Tool

Source

Options

Assume...
a browser
CouchDB
console,alert, ...
Node.js
Rhino

Stop on first error
Tolerate...
assignment expressions
bitwise operators
Google Closure
continue
debugger statements
== and !=
Tolerate...
eval
unfilteredfor in
uncapitalized constructors
dangling _ in identifiers
++ and --
. and [^...] in /RegExp/
unused parameters
Tolerate...
missing 'use strict' pragma
stupidity
inefficient subscripting
TODO comments
many var statements per function
messy white space


JSLint Directive

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