JSLint
Based on Appendix C of "JavaScript: The Good Parts"
- Declare all the variables using 'var'. Use /*global to declare what can be global.
- Members - JSLint will list all the used members.
- Options to JSLint
- Semicolons
- Line Breaking
- Comma - don't use it as operator
- Required Blocks
- Expression Statements
- for x in y - object.hasOwnProperty
- switch
- var
- with
- ...