Update lint script and fix lint errors.