Tighten the vars-argument for the ESLint no-unused-vars rule

Please see https://eslint.org/docs/latest/rules/no-unused-vars#vars
This commit is contained in:
Jonas Jenwald 2022-12-03 11:54:56 +01:00
parent 67e1c37e0f
commit b659bacc43
4 changed files with 8 additions and 7 deletions

View file

@ -14,8 +14,6 @@
*/
/* globals pdfjsLib, pdfjsViewer */
"use strict";
const {
AnnotationLayer,
AnnotationMode,
@ -322,7 +320,6 @@ class Rasterize {
* @property {HTMLDivElement} end - Container for a completion message.
*/
// eslint-disable-next-line no-unused-vars
class Driver {
/**
* @param {DriverOptions} options
@ -962,3 +959,5 @@ class Driver {
return capability.promise;
}
}
export { Driver };