I am working with Eclipse and installed jshint for my application development with node.js, and now I am working on socket.io, where I have written following code.
io.sockets.in('room').emit('event_name', data);
here I am getting warrning from jshint as follows in Eclipse (Kepler).
Syntax error on token ".", Identifier expected after this token
How Do I solve this problem? Can someone tell me what the syntax error is here?