Remove `prompt` statement

JavaScript pattern

JavaScript’s prompt function is widely considered to be obtrusive as UI elements and should be replaced by a more appropriate custom UI implementation.


Apply with the Grit CLI
grit apply no_prompt

Remove alert, confirm and prompt

BEFORE
prompt("What's your name?", 'John Doe');
customPrompt('Who are you?');
AFTER
customPrompt('Who are you?');