diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-02-19 07:30:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 12:30:17 +0000 |
commit | 2da866f982930c76d2317a3be426410683ecf5a2 (patch) | |
tree | e77ce545177ba398068cb63037096a56dea04e2c /ext/js/comm | |
parent | 65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff) |
Update eslint rules (#710)
Diffstat (limited to 'ext/js/comm')
-rw-r--r-- | ext/js/comm/clipboard-monitor.js | 2 | ||||
-rw-r--r-- | ext/js/comm/frame-ancestry-handler.js | 2 | ||||
-rw-r--r-- | ext/js/comm/frame-client.js | 2 | ||||
-rw-r--r-- | ext/js/comm/frame-endpoint.js | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/js/comm/clipboard-monitor.js b/ext/js/comm/clipboard-monitor.js index 6ee93f57..a7cd8833 100644 --- a/ext/js/comm/clipboard-monitor.js +++ b/ext/js/comm/clipboard-monitor.js @@ -82,7 +82,7 @@ export class ClipboardMonitor extends EventDispatcher { this._timerToken = token; - intervalCallback(); + void intervalCallback(); } /** diff --git a/ext/js/comm/frame-ancestry-handler.js b/ext/js/comm/frame-ancestry-handler.js index 92ed3b8c..39288738 100644 --- a/ext/js/comm/frame-ancestry-handler.js +++ b/ext/js/comm/frame-ancestry-handler.js @@ -176,7 +176,7 @@ export class FrameAncestryHandler { const {params} = /** @type {import('core').SerializableObject} */ (data); if (typeof params !== 'object' || params === null) { return; } - this._onRequestFrameInfo(/** @type {import('core').SerializableObject} */ (params), source); + void this._onRequestFrameInfo(/** @type {import('core').SerializableObject} */ (params), source); } /** diff --git a/ext/js/comm/frame-client.js b/ext/js/comm/frame-client.js index 62db1edd..3a41ab0f 100644 --- a/ext/js/comm/frame-client.js +++ b/ext/js/comm/frame-client.js @@ -112,7 +112,7 @@ export class FrameClient { /** @type {import('extension').ChromeRuntimeOnMessageCallback<import('application').ApiMessageAny>} */ const onMessage = (message) => { - onMessageInner(message); + void onMessageInner(message); return false; }; diff --git a/ext/js/comm/frame-endpoint.js b/ext/js/comm/frame-endpoint.js index d2002d2e..69d28a1e 100644 --- a/ext/js/comm/frame-endpoint.js +++ b/ext/js/comm/frame-endpoint.js @@ -46,7 +46,7 @@ export class FrameEndpoint { } /** @type {import('frame-client').FrameEndpointReadyDetails} */ const details = {secret: this._secret}; - this._api.broadcastTab({action: 'frameEndpointReady', params: details}); + void this._api.broadcastTab({action: 'frameEndpointReady', params: details}); } /** @@ -88,6 +88,6 @@ export class FrameEndpoint { this._eventListeners.removeAllEventListeners(); /** @type {import('frame-client').FrameEndpointConnectedDetails} */ const details = {secret, token}; - this._api.sendMessageToFrame(hostFrameId, {action: 'frameEndpointConnected', params: details}); + void this._api.sendMessageToFrame(hostFrameId, {action: 'frameEndpointConnected', params: details}); } } |