I have a CouchDB map.js file which expects code to be defined within an unnamed function:
function(doc){
// do something
}
Because JSCS expects the function to be named, it says:
parseError: Unexpected token (
How can I ignore this error without changing my code?
I don't want to add inline rules like // jscs:disable