reid/node-jslint — pull request #46 by brendoncrawford (2012-11-18 01:19:12+00:00)
Title: Option to not require function names

Currently, jslint will not allow this:

function (x) {
return x;
}

It, will complain that the function must have a name, unless the function is wrapped or assigned to a variable.

It is necessary to bypass this error, especially in CouchDB JS views, where functions exist on their own without a name.

This patch disables the error for this case, providing the option "--nofuncname".