Thursday, March 14, 2013

JSHint picks bits of fluff from your JavaScript




Install


sudo apt-get install npm
sudo npm install jshint -g


Usage

JSHint doesn't understand Django tags.  This hack lets us check some of the code anyway:

egrep -v '{%'  _v2-brandcard.js | jshint --verbose /dev/stdin

No comments:

Post a Comment