Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (13 sloc) 251 Bytes
#!/bin/bash
find src tests *.js -name "*.js" |
while read fn
do
S="JSLinting file: $fn"
L=${#S}
FS="%${L}s"
D=$(printf $FS ' ')
D=${D//?/-}
echo -e "$S\n$D"
jslint --forin=false --node=false --nomen=true --vars=true $fn
echo ""
done
Jump to Line
Something went wrong with that request. Please try again.