Checks a JS file for lint errors, uses ESLint.