From ed579624e29385445b714048b5c46152ef2dbf72 Mon Sep 17 00:00:00 2001 From: BlackSigkill Date: Mon, 9 Feb 2026 20:48:02 +0100 Subject: [PATCH] fix linting --- js/audio-context.js | 4 ++-- js/storage.js | 2 +- styles.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/audio-context.js b/js/audio-context.js index d16c721..ef30140 100644 --- a/js/audio-context.js +++ b/js/audio-context.js @@ -212,7 +212,7 @@ class AudioContextManager { if (this.monoMergerNode) { try { this.monoMergerNode.disconnect(); - } catch (e) { + } catch { // Ignore if not connected } } @@ -220,7 +220,7 @@ class AudioContextManager { // Only disconnect destination from analyser to preserve other taps (like Butterchurn) try { this.analyser.disconnect(this.audioContext.destination); - } catch (e) { + } catch { // Ignore if not connected } diff --git a/js/storage.js b/js/storage.js index 1d13e16..c9bc7e3 100644 --- a/js/storage.js +++ b/js/storage.js @@ -86,7 +86,7 @@ export const apiSettings = { } }, - async getInstances(type = 'api', sortBySpeed = false) { + async getInstances(type = 'api', _sortBySpeed = false) { let instancesObj; const stored = localStorage.getItem(this.STORAGE_KEY); diff --git a/styles.css b/styles.css index 1a4879e..d11761d 100644 --- a/styles.css +++ b/styles.css @@ -1755,7 +1755,7 @@ input[type='search']::-webkit-search-cancel-button { border-radius: 4px; flex-shrink: 0; display: inline-block; - background-image: radial-gradient(currentColor 1.2px, transparent 1.3px); + background-image: radial-gradient(currentcolor 1.2px, transparent 1.3px); background-size: 6px 6px; background-position: center; background-repeat: repeat;