$(() => {
    $("body").on("click", ".scrub-realm-button", function (e) {
        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
            this.form.submit();
        }
    });

    $('a.copy-button').click(function () {
        common.copy_data_attribute_value($(this), "copytext");
    });
});

@@ -274,32 +274,8 @@
     
- if (confirm(message)) %7B
  // 
@@ -289,16 +289,21 @@
 disable-
+next-
 line no-
@@ -308,16 +308,48 @@
 o-alert%0A
+        if (confirm(message)) %7B%0A
         

Move eslint-disable comment to Prettier-compatible position.