javascript - Allow unnamed function with JSCS -


i have couchdb map.js file expects code defined within unnamed function:

function(doc){       // } 

because jscs expects function named, says:

parseerror: unexpected token ( 

how can ignore error without changing code?

i don't want add inline rules // jscs:disable


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -