Using glob to search for JS files for syntax checking