#!/usr/bin/env bash cd webhint while true; do wget localhost:8080/all-components --output-document ./output.html npx hint --config ../hintrc.local.json ./output.html if [ "$?" != 0 ]; then exit 1; fi; done