From 67773bc8344fd2f4681564449e2fd5b3d656d169 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 14 Jul 2020 15:33:36 -0700 Subject: [PATCH] support: Move eslint-disable comment to Prettier-compatible position. Signed-off-by: Anders Kaseorg --- static/js/analytics/support.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/analytics/support.js b/static/js/analytics/support.js index 27b43a8ee2..a1a1fd02c7 100644 --- a/static/js/analytics/support.js +++ b/static/js/analytics/support.js @@ -3,7 +3,8 @@ $(() => { e.preventDefault(); const string_id = $(this).data("string-id"); const message = 'Do you really want to scrub the realm "' + string_id + '"? This action is irreversible.'; - if (confirm(message)) { // eslint-disable-line no-alert + // eslint-disable-next-line no-alert + if (confirm(message)) { this.form.submit(); } });