Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (6 sloc) 223 Bytes
source=$1
config=$2
globals=$3
jshint_uri=http://localhost:3000
# push the current file's contents to the jshint service
curl -f -m 2 --form source="$source" --form config="$config" --form globals="$globals" "$jshint_uri"