summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-08-20 11:17:24 -0400
committerGitHub <noreply@github.com>2022-08-20 11:17:24 -0400
commit310303ca1a123a77f9bd116af4dc64ad9c3256c5 (patch)
treeaf8bad0ec544625970a5f2a4613fff27773b162c /.eslintrc.json
parent02483a45b1b7fb0654b3f37571b92400b76734a5 (diff)
Audio download timeout (#2187)
* Add support for an idle timeout when downloading audio * Update eslint rules * Pass idleTimeout to the downloader from DisplayAnki * Add anki.downloadTimeout setting * Update tests * Assign _audioDownloadIdleTimeout using settings * Show info about cancelled downloads * Handle Firefox bug * Improve audio errors * Refactor * Move functions to RequestBuilder
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 02660d0a..dad145be 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -291,6 +291,14 @@
"rules": {
"no-implicit-globals": "error"
}
+ },
+ {
+ "files": [
+ "ext/js/**/*.js"
+ ],
+ "globals": {
+ "AbortController": "readonly"
+ }
}
]
}