jslint-error-explanations icon indicating copy to clipboard operation
jslint-error-explanations copied to clipboard

'Wrap the parameter in parens.' Error Missing

Open krishatcher opened this issue 8 years ago • 0 comments
trafficstars

JSLint provides an error of 'Wrap the parameter in parens.' in some instances. I am having trouble figuring out what the cause of this error is and would appreciate it being included in this project. Sample of the code that produced this error. (The ellipsis marks where the code continues but I've left it out as unnecessary.) The error is triggered on the line, '.on("data", chunk => {'.

response .on("data", chunk => { responseBody += chunk; }) .on("end", chunk => { ...

krishatcher avatar Apr 13 '17 12:04 krishatcher