diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-06-28 18:26:12 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-06-28 18:26:12 -0500 |
| commit | ef56d669969384cb09cd45b1d5c15039da423861 (patch) | |
| tree | f0aab1d8e20f6e1937061c7b2071e0edbfb538af | |
| parent | 0ce8426a9c8957fd8b3f7794b8310d7a14ac10fe (diff) | |
| download | slskd-ef56d669969384cb09cd45b1d5c15039da423861.tar.gz | |
disable no-negated-condition
| -rw-r--r-- | src/web/.eslintrc.js | 1 | ||||
| -rw-r--r-- | src/web/src/lib/util.js | 1 |
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. |
