bin/jshint: add simple script for jshint

This commit is contained in:
booo 2011-12-22 14:52:09 +01:00
parent 3406ccc207
commit 6a4f8f2b63

9
bin/jshint.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
if [ -d "../bin" ]; then
cd "../"
fi
JSHINT=./node_modules/jshint/bin/hint
$JSHINT ./node/