fix check for eslint failures