From ef56d669969384cb09cd45b1d5c15039da423861 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 28 Jun 2026 18:26:12 -0500 Subject: disable no-negated-condition --- src/web/.eslintrc.js | 1 + src/web/src/lib/util.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web') 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. -- cgit v1.2.3