diff options
Diffstat (limited to 'src')
| -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. |
