![]() |
The JavaScript Code Quality Tool Read the instructions. Set the options. Enjoy The Good Parts. |
Strict white space | Assume console , alert , ... |
Tolerate debugger statements | |||
Allow one var statement per function | Assume a browser | Tolerate eval | |||
Disallow undefined variables | Assume Node.js | Tolerate unfiltered for in | |||
Disallow dangling _ in identifiers | Assume Rhino | Tolerate inefficient subscripting | |||
Disallow . and [^...] in /RegExp/ | Assume a Yahoo Widget | Tolerate continue | |||
Disallow ++ and -- | Assume Windows | Tolerate unused parameters | |||
Disallow bitwise operators | Stop on first error | Tolerate ES5 syntax | |||
Tolerate CSS workarounds | |||||
Tolerate HTML case | |||||
Require Initial Caps for constructors | Safe Subset | Tolerate HTML event handlers | |||
Require 'use strict'; | Verify ADsafe | Tolerate HTML fragments |
Copyright 2002 Douglas
Crockford. All
Rights Reserved Wrrrldwide and Beyond!
Code
Conventions for the JavaScript Programming Language.
Join
the JSLint Group.