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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -