aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-06-28 18:26:12 -0500
committerJP Dillingham <jp@dillingham.me>2026-06-28 18:26:12 -0500
commitef56d669969384cb09cd45b1d5c15039da423861 (patch)
treef0aab1d8e20f6e1937061c7b2071e0edbfb538af /src/web
parent0ce8426a9c8957fd8b3f7794b8310d7a14ac10fe (diff)
downloadslskd-ef56d669969384cb09cd45b1d5c15039da423861.tar.gz
disable no-negated-condition
Diffstat (limited to 'src/web')
-rw-r--r--src/web/.eslintrc.js1
-rw-r--r--src/web/src/lib/util.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/web/.eslintrc.js b/src/web/.eslintrc.js
index 81d1001c..0b0f9fb6 100644
--- a/src/web/.eslintrc.js
+++ b/src/web/.eslintrc.js
@@ -3,6 +3,7 @@ const overrides = {
'id-length': 'off', // noisy
'no-console': 'off', // noisy
'no-eq-null': 'off', // noisy
+ 'no-negated-condition': 'off', // noisy
'react/forbid-component-props': 'off', // noisy
'react/prop-types': 'off', // noisy
'canonical/sort-keys': 'off', // noisy
diff --git a/src/web/src/lib/util.js b/src/web/src/lib/util.js
index caced7ac..091a8207 100644
--- a/src/web/src/lib/util.js
+++ b/src/web/src/lib/util.js
@@ -106,7 +106,6 @@ export const sleep = (milliseconds) => {
*/
export const downloadFile = (data, filename, mime) => {
const blob = new Blob([data], { type: mime || 'application/octet-stream' });
- // eslint-disable-next-line no-negated-condition
if (typeof window.navigator.msSaveBlob !== 'undefined') {
// IE workaround for "HTML7007: One or more blob URLs were
// revoked by closing the blob for which they were created.