chore(lint): burn down remaining warnings to zero
This commit is contained in:
@@ -71,7 +71,7 @@ export class FlynnClient {
|
||||
}
|
||||
this._setStatus('disconnected');
|
||||
// Reject all pending requests
|
||||
for (const [id, pending] of this._pending) {
|
||||
for (const [_id, pending] of this._pending) {
|
||||
pending.reject(new Error('WebSocket closed'));
|
||||
}
|
||||
this._pending.clear();
|
||||
|
||||
@@ -289,7 +289,7 @@ function hideSlashPopup() {
|
||||
_slashPopupIndex = -1;
|
||||
}
|
||||
|
||||
function updatePopupSelection(filtered) {
|
||||
function updatePopupSelection(_filtered) {
|
||||
const popup = _elements.slashPopup;
|
||||
if (!popup) {return;}
|
||||
const items = popup.querySelectorAll('.slash-popup-item');
|
||||
|
||||
@@ -217,7 +217,7 @@ function updateActiveRequests(requestsData) {
|
||||
`;
|
||||
}
|
||||
|
||||
function updateChannels(channelsData) {
|
||||
function _updateChannels(channelsData) {
|
||||
const el = document.getElementById('ops-channels');
|
||||
if (!el) {return;}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ let _el = null;
|
||||
async function loadSettings() {
|
||||
if (!_client || !_el) {return;}
|
||||
|
||||
let config, tools, channels;
|
||||
let config, tools;
|
||||
let services;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user