Install & run jshint on the command line

For ubuntu/linux, assuming you have nodejs installed
  sudo npm install -g jshint

Then run jshint on your javascript file
  jshint yourjsfile.js

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

Deploying a static website efficiently on Google Cloud Storage