Remove `alert` statement

JavaScript pattern

JavaScript’s alert is often used while debugging code, which should be removed before deployment to production.


Apply with the Grit CLI
grit apply no_alert

Remove alert, confirm and prompt

BEFORE
alert('here!');
customAlert('Something happened!');
AFTER
customAlert('Something happened!');