Update EsLint v9

Bug: none
Change-Id: Iebcc53c0f70a51242f22e4df167cd588b08cefcd
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6140633
Reviewed-by: Benedikt Meurer <[email protected]>
Commit-Queue: Nikolay Vitkov <[email protected]>
Auto-Submit: Nikolay Vitkov <[email protected]>
diff --git a/front_end/panels/ai_assistance/agents/AiAgent.ts b/front_end/panels/ai_assistance/agents/AiAgent.ts
index 683f94a..93f103a 100644
--- a/front_end/panels/ai_assistance/agents/AiAgent.ts
+++ b/front_end/panels/ai_assistance/agents/AiAgent.ts
@@ -321,16 +321,16 @@
     const declarations = this.#buildFunctionDeclarationsForAida();
     const request: Host.AidaClient.AidaRequest = {
       client: Host.AidaClient.CLIENT_NAME,
-      // eslint-disable-next-line @typescript-eslint/naming-convention
+
       current_message: currentMessage,
       preamble: this.preamble,
-      // eslint-disable-next-line @typescript-eslint/naming-convention
+
       historical_contexts: history.length ? history : undefined,
-      // eslint-disable-next-line @typescript-eslint/naming-convention
+
       ...(declarations.length ? {function_declarations: declarations} : {}),
       options: {
         temperature: AiAgent.validTemperature(this.options.temperature),
-        // eslint-disable-next-line @typescript-eslint/naming-convention
+
         model_id: this.options.modelId,
       },
       metadata: {
@@ -338,10 +338,10 @@
         string_session_id: this.#sessionId,
         user_tier: Host.AidaClient.convertToUserTierEnum(this.userTier),
       },
-      // eslint-disable-next-line @typescript-eslint/naming-convention
+
       functionality_type: declarations.length ? Host.AidaClient.FunctionalityType.AGENTIC_CHAT :
                                                 Host.AidaClient.FunctionalityType.CHAT,
-      // eslint-disable-next-line @typescript-eslint/naming-convention
+
       client_feature: this.clientFeature,
     };
     return request;
diff --git a/front_end/panels/ai_assistance/components/ChatView.ts b/front_end/panels/ai_assistance/components/ChatView.ts
index ed40ac7..6514635 100644
--- a/front_end/panels/ai_assistance/components/ChatView.ts
+++ b/front_end/panels/ai_assistance/components/ChatView.ts
@@ -621,7 +621,7 @@
         // to rendering the text as plain text instead of markdown.
         this.#markdownRenderer.renderToken(token);
       }
-    } catch (err) {
+    } catch {
       // The tokens were not parsed correctly or
       // one of the tokens are not supported, so we
       // continue to render this as text.
diff --git a/front_end/panels/application/AppManifestView.ts b/front_end/panels/application/AppManifestView.ts
index 00142d4..e675c56 100644
--- a/front_end/panels/application/AppManifestView.ts
+++ b/front_end/panels/application/AppManifestView.ts
@@ -1091,7 +1091,7 @@
     try {
       await result;
       return {wrapper, image};
-    } catch (e) {
+    } catch {
     }
     return null;
   }
diff --git a/front_end/panels/application/IndexedDBViews.ts b/front_end/panels/application/IndexedDBViews.ts
index 8967595..a263292 100644
--- a/front_end/panels/application/IndexedDBViews.ts
+++ b/front_end/panels/application/IndexedDBViews.ts
@@ -497,7 +497,7 @@
     let result;
     try {
       result = JSON.parse(keyString);
-    } catch (e) {
+    } catch {
       result = keyString;
     }
     return result;
diff --git a/front_end/panels/application/preloading/PreloadingView.test.ts b/front_end/panels/application/preloading/PreloadingView.test.ts
index b6cc191..ea510d3 100644
--- a/front_end/panels/application/preloading/PreloadingView.test.ts
+++ b/front_end/panels/application/preloading/PreloadingView.test.ts
@@ -145,7 +145,7 @@
     let json;
     try {
       json = JSON.parse(specrules);
-    } catch (_) {
+    } catch {
       dispatchEvent(this.primaryTarget, 'Preload.ruleSetUpdated', {
         ruleSet: {
           id: `ruleSetId:0.${this.seq}`,
diff --git a/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts b/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts
index 54015dd..6745246 100644
--- a/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts
+++ b/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts
@@ -157,8 +157,7 @@
 
   #buildReportRows(): DataGrid.DataGridUtils.Row[] {
     function urlRenderer(url: string, pageURL: string): LitHtml.TemplateResult {
-      function span(
-          additionalProps: {'color'?: string, 'text-decoration'?: string}, s: string): LitHtml.TemplateResult {
+      function span(additionalProps: {color?: string, 'text-decoration'?: string}, s: string): LitHtml.TemplateResult {
         // Don't insert spaces to prevent spaces for inline blocks.
         // clang-format off
         return html`<span style=${LitHtml.Directives.styleMap(additionalProps)}>${s}</span>`;
diff --git a/front_end/panels/elements/WebCustomData.test.ts b/front_end/panels/elements/WebCustomData.test.ts
index 43a4eae..054093b 100644
--- a/front_end/panels/elements/WebCustomData.test.ts
+++ b/front_end/panels/elements/WebCustomData.test.ts
@@ -55,7 +55,7 @@
       try {
         await webCustomData.fetchPromiseForTest;
         assert.isTrue(false, 'Expected await to throw');
-      } catch (e) {
+      } catch {
       }
 
       assert.isUndefined(webCustomData.findCssProperty('display'));
diff --git a/front_end/panels/elements/components/StylePropertyEditor.ts b/front_end/panels/elements/components/StylePropertyEditor.ts
index 2f09bb6..8a1af4a 100644
--- a/front_end/panels/elements/components/StylePropertyEditor.ts
+++ b/front_end/panels/elements/components/StylePropertyEditor.ts
@@ -32,8 +32,8 @@
 
 declare global {
   interface HTMLElementEventMap {
-    'propertyselected': PropertySelectedEvent;
-    'propertydeselected': PropertyDeselectedEvent;
+    propertyselected: PropertySelectedEvent;
+    propertydeselected: PropertyDeselectedEvent;
   }
 }
 
diff --git a/front_end/panels/emulation/components/DeviceSizeInputElement.ts b/front_end/panels/emulation/components/DeviceSizeInputElement.ts
index 9e687c4..359ffdc 100644
--- a/front_end/panels/emulation/components/DeviceSizeInputElement.ts
+++ b/front_end/panels/emulation/components/DeviceSizeInputElement.ts
@@ -130,6 +130,6 @@
     'device-mode-emulation-size-input': SizeInputElement;
   }
   interface HTMLElementEventMap {
-    'sizechanged': SizeChangedEvent;
+    sizechanged: SizeChangedEvent;
   }
 }
diff --git a/front_end/panels/event_listeners/EventListenersUtils.ts b/front_end/panels/event_listeners/EventListenersUtils.ts
index edbbe81..91426cf 100644
--- a/front_end/panels/event_listeners/EventListenersUtils.ts
+++ b/front_end/panels/event_listeners/EventListenersUtils.ts
@@ -293,7 +293,7 @@
           const len = obj.length;
           return typeof len === 'number' && (len >>> 0 === len && (len > 0 || 1 / len > 0));
         }
-      } catch (e) {
+      } catch {
       }
       return false;
     }
@@ -362,7 +362,7 @@
     function toString(obj: any): string {
       try {
         return String(obj);
-      } catch (e) {
+      } catch {
         return '<error>';
       }
     }
@@ -445,7 +445,8 @@
         return;
       }
       const jQueryFunction = jQuery as (arg0: Node) => {
-        off: Function,
+        off:
+          Function,
       };
       jQueryFunction(node).off(type, selector, handler);
     }
diff --git a/front_end/panels/lighthouse/LighthouseController.ts b/front_end/panels/lighthouse/LighthouseController.ts
index b818c23..411e753 100644
--- a/front_end/panels/lighthouse/LighthouseController.ts
+++ b/front_end/panels/lighthouse/LighthouseController.ts
@@ -315,7 +315,7 @@
       if (isPdf) {
         return i18nString(UIStrings.canOnlyAuditHttphttpsPages);
       }
-    } catch (e) {
+    } catch {
       return i18nString(UIStrings.canOnlyAuditHttphttpsPages);
     }
 
diff --git a/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts b/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts
index a3af03c..38df40f 100644
--- a/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts
+++ b/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts
@@ -350,7 +350,7 @@
         name: expression ? LinearMemoryInspectorController.extractObjectName(obj, expression) : expression,
         type: LinearMemoryInspectorController.extractObjectTypeDescription(obj),
       };
-    } catch (err) {
+    } catch {
       highlightInfo = undefined;
     }
     return highlightInfo;
diff --git a/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts b/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts
index e1330b5..1ae807f 100644
--- a/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts
+++ b/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts
@@ -400,9 +400,9 @@
   }
 
   interface HTMLElementEventMap {
-    'memoryrequest': MemoryRequestEvent;
-    'addresschanged': AddressChangedEvent;
-    'settingschanged': SettingsChangedEvent;
-    'deletememoryhighlight': DeleteMemoryHighlightEvent;
+    memoryrequest: MemoryRequestEvent;
+    addresschanged: AddressChangedEvent;
+    settingschanged: SettingsChangedEvent;
+    deletememoryhighlight: DeleteMemoryHighlightEvent;
   }
 }
diff --git a/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts b/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts
index 688ca97..c8bb433 100644
--- a/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts
+++ b/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts
@@ -13,7 +13,8 @@
    */
   notApplicable: 'N/A',
 };
-const str_ = i18n.i18n.registerUIStrings('panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts', UIStrings);
+const str_ =
+    i18n.i18n.registerUIStrings('panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts', UIStrings);
 const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
 
 export const VALUE_INTEPRETER_MAX_NUM_BYTES = 8;
@@ -109,7 +110,7 @@
     const isLittleEndian = endianness === Endianness.LITTLE;
     return type === ValueType.POINTER32 ? dataView.getUint32(0, isLittleEndian) :
                                           dataView.getBigUint64(0, isLittleEndian);
-  } catch (e) {
+  } catch {
     return NaN;
   }
 }
@@ -164,7 +165,7 @@
       default:
         return Platform.assertNever(formatData.type, `Unknown value type: ${formatData.type}`);
     }
-  } catch (e) {
+  } catch {
     return i18nString(UIStrings.notApplicable);
   }
 }
diff --git a/front_end/panels/media/EventDisplayTable.ts b/front_end/panels/media/EventDisplayTable.ts
index d624340..40de7de 100644
--- a/front_end/panels/media/EventDisplayTable.ts
+++ b/front_end/panels/media/EventDisplayTable.ts
@@ -143,7 +143,7 @@
       if (isAtBottom) {
         scroll.scrollTop = scroll.scrollHeight;
       }
-    } catch (e) {
+    } catch {
       // If this is a legacy message event, ignore it for now until they
       // are handled.
     }
diff --git a/front_end/panels/media/PlayerPropertiesView.ts b/front_end/panels/media/PlayerPropertiesView.ts
index ed5c186..1467150 100644
--- a/front_end/panels/media/PlayerPropertiesView.ts
+++ b/front_end/panels/media/PlayerPropertiesView.ts
@@ -195,7 +195,7 @@
     }
     try {
       propvalue = JSON.parse(propvalue) as string;
-    } catch (err) {
+    } catch {
       // TODO(tmathmeyer) typecheck the type of propvalue against
       // something defined or sourced from the c++ definitions.
       // Do nothing, some strings just stay strings!
diff --git a/front_end/panels/network/EventSourceMessagesView.ts b/front_end/panels/network/EventSourceMessagesView.ts
index d8a44b9..e5c87e3 100644
--- a/front_end/panels/network/EventSourceMessagesView.ts
+++ b/front_end/panels/network/EventSourceMessagesView.ts
@@ -150,7 +150,7 @@
     if (text) {
       try {
         this.filterRegex = new RegExp(text, 'i');
-      } catch (e) {
+      } catch {
         // this regex will never match any input
         this.filterRegex = new RegExp('(?!)', 'i');
       }
diff --git a/front_end/panels/network/NetworkLogView.ts b/front_end/panels/network/NetworkLogView.ts
index 344f94a..f9b0282 100644
--- a/front_end/panels/network/NetworkLogView.ts
+++ b/front_end/panels/network/NetworkLogView.ts
@@ -2045,7 +2045,7 @@
     try {
       new URL(url);
       return true;
-    } catch (e) {
+    } catch {
       return false;
     }
   }
diff --git a/front_end/panels/network/NetworkOverview.ts b/front_end/panels/network/NetworkOverview.ts
index 3faa9ab..df18622 100644
--- a/front_end/panels/network/NetworkOverview.ts
+++ b/front_end/panels/network/NetworkOverview.ts
@@ -251,8 +251,8 @@
 
           const start = Trace.Types.Timing.MilliSeconds(timeRanges[j].start * 1000);
           const end = Trace.Types.Timing.MilliSeconds(timeRanges[j].end * 1000);
-          context.moveTo(calculator.computePosition(start) - 0, y);
-          context.lineTo(calculator.computePosition(end) + 1, y);
+          context.moveTo(Number(calculator.computePosition(start)) - 0, y);
+          context.lineTo(Number(calculator.computePosition(end)) + 1, y);
           context.stroke();
         }
       }
diff --git a/front_end/panels/network/RequestPayloadView.ts b/front_end/panels/network/RequestPayloadView.ts
index 137c610..2d4b9f9 100644
--- a/front_end/panels/network/RequestPayloadView.ts
+++ b/front_end/panels/network/RequestPayloadView.ts
@@ -183,7 +183,7 @@
       if (value.indexOf('%') >= 0) {
         try {
           value = decodeURIComponent(value);
-        } catch (e) {
+        } catch {
           errorDecoding = true;
         }
       }
@@ -232,7 +232,7 @@
       try {
         const json = JSON.parse(formData);
         this.refreshRequestJSONPayload(json, formData);
-      } catch (e) {
+      } catch {
         this.populateTreeElementWithSourceText(this.requestPayloadCategory, formData);
       }
     }
diff --git a/front_end/panels/network/ResourceWebSocketFrameView.ts b/front_end/panels/network/ResourceWebSocketFrameView.ts
index 34c88c8..e6d9454 100644
--- a/front_end/panels/network/ResourceWebSocketFrameView.ts
+++ b/front_end/panels/network/ResourceWebSocketFrameView.ts
@@ -314,7 +314,7 @@
     if (text) {
       try {
         this.filterRegex = new RegExp(text, 'i');
-      } catch (e: unknown) {
+      } catch {
         this.filterRegex = new RegExp(Platform.StringUtilities.escapeForRegExp(text), 'i');
       }
     } else {
diff --git a/front_end/panels/network/components/ResponseHeaderSection.ts b/front_end/panels/network/components/ResponseHeaderSection.ts
index 6575e77..d889dd1 100644
--- a/front_end/panels/network/components/ResponseHeaderSection.ts
+++ b/front_end/panels/network/components/ResponseHeaderSection.ts
@@ -292,7 +292,7 @@
       for (const header of this.#headerEditors) {
         header.valueEditable = this.#isEditingAllowed;
       }
-    } catch (error) {
+    } catch {
       console.error(
           'Failed to parse', this.#uiSourceCode?.url() || 'source code file', 'for locally overriding headers.');
       this.#resetEditorState();
diff --git a/front_end/panels/protocol_monitor/ProtocolMonitor.ts b/front_end/panels/protocol_monitor/ProtocolMonitor.ts
index fab28e9..2a27ff6 100644
--- a/front_end/panels/protocol_monitor/ProtocolMonitor.ts
+++ b/front_end/panels/protocol_monitor/ProtocolMonitor.ts
@@ -803,7 +803,7 @@
   let json = null;
   try {
     json = JSON.parse(input);
-  } catch (err) {
+  } catch {
   }
 
   const command = json ? json.command || json.method || json.cmd || '' : input;
diff --git a/front_end/panels/recorder/RecorderController.test.ts b/front_end/panels/recorder/RecorderController.test.ts
index 7ae7c47..5e1ba1e 100644
--- a/front_end/panels/recorder/RecorderController.test.ts
+++ b/front_end/panels/recorder/RecorderController.test.ts
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-/* eslint-disable rulesdir/es-modules-import */
-
 import {
   describeWithEnvironment,
   setupActionRegistry,
diff --git a/front_end/panels/recorder/components/CreateRecordingView.ts b/front_end/panels/recorder/components/CreateRecordingView.ts
index e48470d..306cf07 100644
--- a/front_end/panels/recorder/components/CreateRecordingView.ts
+++ b/front_end/panels/recorder/components/CreateRecordingView.ts
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-/* eslint-disable rulesdir/inject-checkbox-styles */
-
 import '../../../ui/legacy/legacy.js';
 import '../../../ui/components/icon_button/icon_button.js';
 import './ControlButton.js';
diff --git a/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts b/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts
index aa3cbf6..073250a 100644
--- a/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts
+++ b/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-/* eslint-disable rulesdir/es-modules-import */
-
 import {findMinMax} from './CSSSelector.js';
 
 describe('findMinMax', () => {
diff --git a/front_end/panels/security/OriginTreeElement.ts b/front_end/panels/security/OriginTreeElement.ts
index 1ac1bf8..706ee28 100644
--- a/front_end/panels/security/OriginTreeElement.ts
+++ b/front_end/panels/security/OriginTreeElement.ts
@@ -56,6 +56,6 @@
 
 declare global {
   interface HTMLElementEventMap {
-    'showorigin': ShowOriginEvent;
+    showorigin: ShowOriginEvent;
   }
 }
diff --git a/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts b/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts
index a828b8a..b67c7ae 100644
--- a/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts
+++ b/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts
@@ -314,7 +314,7 @@
       let regex;
       try {
         regex = new RegExp(pattern);
-      } catch (e) {
+      } catch {
       }
       if (!regex) {
         return {valid: false, errorMessage: i18nString(UIStrings.patternMustBeAValidRegular)};
diff --git a/front_end/panels/settings/components/SyncSection.ts b/front_end/panels/settings/components/SyncSection.ts
index 2ccd36b..4bcae0f 100644
--- a/front_end/panels/settings/components/SyncSection.ts
+++ b/front_end/panels/settings/components/SyncSection.ts
@@ -88,7 +88,6 @@
 }
 
 /* x-link doesn't work with custom click/keydown handlers */
-/* eslint-disable rulesdir/no-a-tags-in-lit-html */
 
 function renderAccountInfoOrWarning(syncInfo: Host.InspectorFrontendHostAPI.SyncInformation): LitHtml.TemplateResult {
   if (!syncInfo.isSyncActive) {
diff --git a/front_end/panels/sources/SourcesPanel.ts b/front_end/panels/sources/SourcesPanel.ts
index fcfcaa3..a6f54ce 100644
--- a/front_end/panels/sources/SourcesPanel.ts
+++ b/front_end/panels/sources/SourcesPanel.ts
@@ -1097,7 +1097,7 @@
       }
       try {
         return JSON.stringify(this, null, indent);
-      } catch (error) {
+      } catch {
         return String(this);
       }
     }
diff --git a/front_end/panels/sources/components/HeadersView.ts b/front_end/panels/sources/components/HeadersView.ts
index 96388a1..a8b68bb 100644
--- a/front_end/panels/sources/components/HeadersView.ts
+++ b/front_end/panels/sources/components/HeadersView.ts
@@ -89,7 +89,7 @@
       if (!headerOverrides.every(Persistence.NetworkPersistenceManager.isHeaderOverride)) {
         throw 'Type mismatch after parsing';
       }
-    } catch (e) {
+    } catch {
       console.error('Failed to parse', this.#uiSourceCode.url(), 'for locally overriding headers.');
       parsingError = true;
     }
diff --git a/front_end/panels/timeline/TimelineDetailsView.ts b/front_end/panels/timeline/TimelineDetailsView.ts
index daf6ef7..4d8ce6d 100644
--- a/front_end/panels/timeline/TimelineDetailsView.ts
+++ b/front_end/panels/timeline/TimelineDetailsView.ts
@@ -77,7 +77,7 @@
   private lazySelectorStatsView: TimelineSelectorStatsView|null;
   #parsedTrace: Trace.Handlers.Types.ParsedTrace|null = null;
   #traceInsightsSets: Trace.Insights.Types.TraceInsightSets|null = null;
-  /* eslint-disable-next-line no-unused-private-class-members */
+
   #eventToRelatedInsightsMap: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap|null = null;
   #filmStrip: Trace.Extras.FilmStrip.Data|null = null;
   #networkRequestDetails: TimelineComponents.NetworkRequestDetails.NetworkRequestDetails;
diff --git a/front_end/panels/timeline/components/IgnoreListSetting.ts b/front_end/panels/timeline/components/IgnoreListSetting.ts
index 9507059..b3e7422 100644
--- a/front_end/panels/timeline/components/IgnoreListSetting.ts
+++ b/front_end/panels/timeline/components/IgnoreListSetting.ts
@@ -353,7 +353,7 @@
   let regex;
   try {
     regex = new RegExp(pattern);
-  } catch (e) {
+  } catch {
   }
   if (!regex) {
     return {valid: false, message: i18nString(UIStrings.patternMustBeAValidRegular)};
diff --git a/front_end/panels/timeline/components/insights/BaseInsightComponent.ts b/front_end/panels/timeline/components/insights/BaseInsightComponent.ts
index dad3072..76f659e 100644
--- a/front_end/panels/timeline/components/insights/BaseInsightComponent.ts
+++ b/front_end/panels/timeline/components/insights/BaseInsightComponent.ts
@@ -69,7 +69,6 @@
     insightSetKey: null,
   };
 
-  // eslint-disable-next-line rulesdir/no-bound-component-methods
   readonly #boundRender = this.#render.bind(this);
   readonly sharedTableState: TableState = {
     selectedRowEl: null,
diff --git a/front_end/panels/whats_new/ReleaseNote.test.ts b/front_end/panels/whats_new/ReleaseNote.test.ts
index 162b496..65b345c 100644
--- a/front_end/panels/whats_new/ReleaseNote.test.ts
+++ b/front_end/panels/whats_new/ReleaseNote.test.ts
@@ -5,7 +5,7 @@
 import * as Common from '../../core/common/common.js';
 import type * as Platform from '../../core/platform/platform.js';
 import * as Root from '../../core/root/root.js';
-// eslint-disable-next-line rulesdir/es-modules-import
+
 import {
   deinitializeGlobalVars,
   initializeGlobalVars,
diff --git a/front_end/panels/whats_new/ReleaseNoteView.ts b/front_end/panels/whats_new/ReleaseNoteView.ts
index 86d3bcc..d2f5a8e 100644
--- a/front_end/panels/whats_new/ReleaseNoteView.ts
+++ b/front_end/panels/whats_new/ReleaseNoteView.ts
@@ -117,7 +117,7 @@
     try {
       const response = await fetch(url.toString());
       return response.text();
-    } catch (error) {
+    } catch {
       throw new Error(`Markdown file ${
           url.toString()} not found. Make sure it is correctly listed in the relevant BUILD.gn files.`);
     }
diff --git a/front_end/panels/whats_new/WhatsNewImpl.ts b/front_end/panels/whats_new/WhatsNewImpl.ts
index 0a8b22b..aac948f 100644
--- a/front_end/panels/whats_new/WhatsNewImpl.ts
+++ b/front_end/panels/whats_new/WhatsNewImpl.ts
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-import * as Common from '../../core/common/common.js';  // eslint-disable-line no-unused-vars
+import * as Common from '../../core/common/common.js';
 import * as Host from '../../core/host/host.js';
 import type * as Platform from '../../core/platform/platform.js';
-import * as UI from '../../ui/legacy/legacy.js';  // eslint-disable-line no-unused-vars
+import * as UI from '../../ui/legacy/legacy.js';
 
 import {getReleaseNote} from './ReleaseNoteText.js';
 
diff --git a/front_end/panels/whats_new/whats_new-meta.ts b/front_end/panels/whats_new/whats_new-meta.ts
index 6caa1e3..7a70fb2 100644
--- a/front_end/panels/whats_new/whats_new-meta.ts
+++ b/front_end/panels/whats_new/whats_new-meta.ts
@@ -6,7 +6,6 @@
 import * as i18n from '../../core/i18n/i18n.js';
 import * as UI from '../../ui/legacy/legacy.js';
 
-// eslint-disable-next-line rulesdir/es-modules-import
 import type * as WhatsNew from './whats_new.js';
 
 const UIStrings = {