jshint/jshint — pull request #612 by alarie (2012-08-09 07:14:06+00:00)
Title: Added value "paramsignore" to options.unused. 

This will make jshint ignore function parameters in warnings about unused variables.

It happens quite often that you do not need all parameters a function/callback offers. Think about $.ajax's success callback for example, which has the parameters data, statusText, xhr (in this order). It may happen that you need only the xhr parameter in your function body. In that case jshint would correctly (but for my taste unnecessarily) point out that the other two parameters are unused.

Usage is now:
options.unused = true: same as before
options.unused = "paramsigonre": same as true, just ignore function params
options.unused = false: same as before