Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (13 sloc) 0.251 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/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
Something went wrong with that request. Please try again.