jshint is not aware of node.js globals by default you need to inform it.
add this comment to the top:
/* jshint node: true */
jshint is not aware of node.js globals by default you need to inform it.
add this comment to the top:
/* jshint node: true */