Read the instructions.
Set the options.
Enjoy The Good Parts.
Donate.
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
unfiltered for 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.