Enable the no-var linting rule in src/core/ccitt_stream.js

This commit is contained in:
Tim van der Meij 2021-02-27 12:44:20 +01:00
parent 0897dddbbe
commit e051d4d029
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -12,13 +12,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable no-var */
import { Dict, isDict } from "./primitives.js";
import { CCITTFaxDecoder } from "./ccitt.js";
import { DecodeStream } from "./stream.js";
var CCITTFaxStream = (function CCITTFaxStreamClosure() {
const CCITTFaxStream = (function CCITTFaxStreamClosure() {
// eslint-disable-next-line no-shadow
function CCITTFaxStream(str, maybeLength, params) {
this.str = str;